diff --git a/glibc.changes b/glibc.changes index 427fe31..983a804 100644 --- a/glibc.changes +++ b/glibc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 23 16:55:51 UTC 2021 - Andreas Schwab + +- Don't remove -f[asynchronous-]unwind-tables during configure run, no + longer needed + ------------------------------------------------------------------- Mon Mar 8 10:43:30 UTC 2021 - Andreas Schwab diff --git a/glibc.spec b/glibc.spec index 108387e..5aa3047 100644 --- a/glibc.spec +++ b/glibc.spec @@ -574,22 +574,13 @@ BuildCCplus="%__cxx" # mkdir cc-base cd cc-base -%ifarch %arm aarch64 -# remove [asynchronous-]unwind-tables during configure as it causes -# some checks to fail spuriously on arm -conf_cflags="${BuildFlags/-fasynchronous-unwind-tables/}" -conf_cflags="${conf_cflags/-funwind-tables/}" -%else -conf_cflags="$BuildFlags" -%endif - %if %{build_profile} profile="--enable-profile" %else profile="--disable-profile" %endif ../configure \ - CFLAGS="$conf_cflags" BUILD_CFLAGS="$conf_cflags" \ + CFLAGS="$BuildFlags" BUILD_CFLAGS="$BuildFlags" \ CC="$BuildCC" CXX="$BuildCCplus" \ --prefix=%{_prefix} \ --libexecdir=%{_libexecdir} --infodir=%{_infodir} \ @@ -626,8 +617,7 @@ profile="--disable-profile" --enable-systemtap \ --disable-timezone-tools \ --disable-crypt -# explicitly set CFLAGS to use the full CFLAGS (not the reduced one for configure) -make %{?_smp_mflags} CFLAGS="$BuildFlags" BUILD_CFLAGS="$BuildFlags" +make %{?_smp_mflags} cd .. #