gcc: Try and fix build again.

This commit is contained in:
Dylan Araps 2019-07-13 10:14:38 +03:00
parent e8c42dc00c
commit b7455c9466
2 changed files with 3 additions and 9 deletions

View File

@ -5,7 +5,6 @@ mkdir -p gcc-build
cd gcc-build
export libat_cv_have_ifunc=no
machine=$(gcc -dumpmachine)
# Unset CFLAGS/CXXFLAGS to make 'gcc' build as generic.
unset CFLAGS CXXFLAGS
@ -13,7 +12,6 @@ unset CFLAGS CXXFLAGS
../gcc/configure \
--prefix=/usr \
--disable-bootstrap \
--disable-multilib \
--disable-symvers \
--disable-libmpx \
--disable-libmudflap \
@ -32,13 +30,9 @@ unset CFLAGS CXXFLAGS
--enable-shared \
--enable-threads \
--enable-tls \
--enable-languages=c,c++ \
--build="$machine" \
--with-tune=generic \
--with-arch=x86-64 \
--with-cpu-64=generic
--enable-languages=c,c++
make BOOT_CFLAGS='-O'
make
make DESTDIR="$1" install
# Save 35MB.

View File

@ -1 +1 @@
9.1.0 3
9.1.0 4