Accepting request 87239 from home:algraf:branches:devel:tools
Make valgrind compile on ARM. OBS-URL: https://build.opensuse.org/request/show/87239 OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=47
This commit is contained in:
parent
55d1d12ffe
commit
f9c2383985
@ -176,6 +176,11 @@ cd ..
|
|||||||
%patch47
|
%patch47
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%ifarch %arm
|
||||||
|
# Valgrind doesn't support compiling for Thumb yet. Remove when it gets
|
||||||
|
# native thumb support.
|
||||||
|
RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-mthumb/-mthumb-interwork -marm}
|
||||||
|
%endif
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
export CXXFLAGS="$RPM_OPT_FLAGS"
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
@ -218,6 +223,9 @@ cp -a README* NEWS AUTHORS COPYING COPYING.DOCS $RPM_BUILD_ROOT/%_defaultdocdir/
|
|||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
%_libdir/valgrind/*-s390x-linux
|
%_libdir/valgrind/*-s390x-linux
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch %arm
|
||||||
|
%_libdir/valgrind/*-arm-linux
|
||||||
|
%endif
|
||||||
%_libdir/valgrind/*-linux.so
|
%_libdir/valgrind/*-linux.so
|
||||||
%_libdir/valgrind/*.supp
|
%_libdir/valgrind/*.supp
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user