forked from pool/glibc
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:
parent
33836751f9
commit
67ea2f3a6c
@ -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>
|
||||
|
||||
|
14
glibc.spec
14
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 ..
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user