mirror of
https://abf.rosa.ru/djam/glibc.git
synced 2025-02-23 15:02:47 +00:00
remove new flags as Andrey said
This commit is contained in:
parent
366b129dbc
commit
fd2e9490e6
1 changed files with 3 additions and 3 deletions
|
@ -836,8 +836,8 @@ function BuildGlibc() {
|
|||
BuildCC="%{__cc} $BuildCompFlags"
|
||||
BuildCXX="%{__cxx} $BuildCompFlags"
|
||||
|
||||
add_flags="%(rpm --eval '%%{__common_cflags}' |sed -e 's,-Werror[^ ]*,,g;s,-ffat-lto-objects,,g')"
|
||||
BuildFlags="$BuildFlags -DNDEBUG=1 $addflags -O3"
|
||||
#add_flags="%(rpm --eval '%%{__common_cflags}' |sed -e 's,-Werror[^ ]*,,g;s,-ffat-lto-objects,,g')"
|
||||
BuildFlags="$BuildFlags -DNDEBUG=1 %{__common_cflags} -O3"
|
||||
|
||||
# XXX: -frecord-gcc-switches makes gold abort with assertion error and gcc segfault :|
|
||||
#BuildFlags="$(echo $BuildFlags |sed -e 's#-frecord-gcc-switches##g')"
|
||||
|
@ -876,7 +876,7 @@ function BuildGlibc() {
|
|||
pushd build-$arch-linux
|
||||
|
||||
[[ "$BuildAltArch" = "yes" ]] && touch ".alt" || touch ".main"
|
||||
CC="$BuildCC" CXX="$BuildCXX" CFLAGS="$BuildFlags -Wno-error -fno-strict-aliasing" LDFLAGS="%{ldflags} -fuse-ld=bfd" ../configure \
|
||||
CC="$BuildCC" CXX="$BuildCXX" CFLAGS="$BuildFlags -Wno-error" LDFLAGS="%{ldflags} -fuse-ld=bfd" ../configure \
|
||||
$arch-%{_target_vendor}-%{_target_os}%{?_gnu} \
|
||||
--prefix=%{_prefix} \
|
||||
--libexecdir=%{_prefix}/libexec \
|
||||
|
|
Loading…
Add table
Reference in a new issue