diff --git a/SPECS/elfutils.spec b/SPECS/elfutils.spec index 2e09300..a2160d7 100644 --- a/SPECS/elfutils.spec +++ b/SPECS/elfutils.spec @@ -42,6 +42,8 @@ Patch4: elfutils-0.176-strip-symbols-illformed.patch Patch100: elfutils-0.176-dts.patch Patch101: elfutils-dts-libs-version.patch +Patch1001: elfutils-dts9-armhfp.patch + Requires: %{?scl_prefix}elfutils-libelf%{depsuffix} = %{version}-%{release} Requires: %{?scl_prefix}elfutils-libs%{depsuffix} = %{version}-%{release} @@ -181,12 +183,20 @@ profiling) of processes. %patch100 -p1 -b .dts %patch101 -p1 -b .versions +%ifarch %{arm} +%patch1001 -p1 -b .armhfp +%endif + autoreconf # In case the above patches added any new test scripts, make sure they # are executable. find . -name \*.sh ! -perm -0100 -print | xargs chmod +x +%ifarch %{arm} +echo -e '"dwarf: arm needs debuginfo installed for all libraries"\nexit 77' > tests/run-backtrace-native-core.sh +%endif + %build # Remove -Wall from default flags. The makefiles enable enough warnings # themselves, and they use -Werror. Appending -Wall defeats the cases where