mirror of
https://codeberg.org/kiss-community/repo
synced 2024-07-04 23:12:28 +00:00
gcc: Try and fix build again.
This commit is contained in:
parent
e8c42dc00c
commit
b7455c9466
|
@ -5,7 +5,6 @@ mkdir -p gcc-build
|
||||||
cd gcc-build
|
cd gcc-build
|
||||||
|
|
||||||
export libat_cv_have_ifunc=no
|
export libat_cv_have_ifunc=no
|
||||||
machine=$(gcc -dumpmachine)
|
|
||||||
|
|
||||||
# Unset CFLAGS/CXXFLAGS to make 'gcc' build as generic.
|
# Unset CFLAGS/CXXFLAGS to make 'gcc' build as generic.
|
||||||
unset CFLAGS CXXFLAGS
|
unset CFLAGS CXXFLAGS
|
||||||
|
@ -13,7 +12,6 @@ unset CFLAGS CXXFLAGS
|
||||||
../gcc/configure \
|
../gcc/configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--disable-bootstrap \
|
--disable-bootstrap \
|
||||||
--disable-multilib \
|
|
||||||
--disable-symvers \
|
--disable-symvers \
|
||||||
--disable-libmpx \
|
--disable-libmpx \
|
||||||
--disable-libmudflap \
|
--disable-libmudflap \
|
||||||
|
@ -32,13 +30,9 @@ unset CFLAGS CXXFLAGS
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-threads \
|
--enable-threads \
|
||||||
--enable-tls \
|
--enable-tls \
|
||||||
--enable-languages=c,c++ \
|
--enable-languages=c,c++
|
||||||
--build="$machine" \
|
|
||||||
--with-tune=generic \
|
|
||||||
--with-arch=x86-64 \
|
|
||||||
--with-cpu-64=generic
|
|
||||||
|
|
||||||
make BOOT_CFLAGS='-O'
|
make
|
||||||
make DESTDIR="$1" install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
# Save 35MB.
|
# Save 35MB.
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
9.1.0 3
|
9.1.0 4
|
||||||
|
|
Loading…
Reference in New Issue
Block a user