Accepting request 884677 from home:Andreas_Schwab:Factory

- Don't remove -f[asynchronous-]unwind-tables during configure run, no
  longer needed

OBS-URL: https://build.opensuse.org/request/show/884677
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=588
This commit is contained in:
Andreas Schwab 2021-04-12 13:42:33 +00:00 committed by Git OBS Bridge
parent 33836751f9
commit 67ea2f3a6c
2 changed files with 8 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 23 16:55:51 UTC 2021 - Andreas Schwab <schwab@suse.de>
- Don't remove -f[asynchronous-]unwind-tables during configure run, no
longer needed
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 8 10:43:30 UTC 2021 - Andreas Schwab <schwab@suse.de> Mon Mar 8 10:43:30 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -574,22 +574,13 @@ BuildCCplus="%__cxx"
# #
mkdir cc-base mkdir cc-base
cd 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} %if %{build_profile}
profile="--enable-profile" profile="--enable-profile"
%else %else
profile="--disable-profile" profile="--disable-profile"
%endif %endif
../configure \ ../configure \
CFLAGS="$conf_cflags" BUILD_CFLAGS="$conf_cflags" \ CFLAGS="$BuildFlags" BUILD_CFLAGS="$BuildFlags" \
CC="$BuildCC" CXX="$BuildCCplus" \ CC="$BuildCC" CXX="$BuildCCplus" \
--prefix=%{_prefix} \ --prefix=%{_prefix} \
--libexecdir=%{_libexecdir} --infodir=%{_infodir} \ --libexecdir=%{_libexecdir} --infodir=%{_infodir} \
@ -626,8 +617,7 @@ profile="--disable-profile"
--enable-systemtap \ --enable-systemtap \
--disable-timezone-tools \ --disable-timezone-tools \
--disable-crypt --disable-crypt
# explicitly set CFLAGS to use the full CFLAGS (not the reduced one for configure) make %{?_smp_mflags}
make %{?_smp_mflags} CFLAGS="$BuildFlags" BUILD_CFLAGS="$BuildFlags"
cd .. cd ..
# #