forked from kiss-community/repo
gcc: Attempt to fix build.
This commit is contained in:
parent
85752fbd17
commit
5ffda2c512
@ -7,8 +7,12 @@ cd gcc-build
|
|||||||
export libat_cv_have_ifunc=no
|
export libat_cv_have_ifunc=no
|
||||||
machine=$(gcc -dumpmachine)
|
machine=$(gcc -dumpmachine)
|
||||||
|
|
||||||
|
# Unset CFLAGS/CXXFLAGS to make 'gcc' build as generic.
|
||||||
|
unset CFLAGS CXXFLAGS
|
||||||
|
|
||||||
../gcc/configure \
|
../gcc/configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--disable-bootstrap \
|
||||||
--disable-multilib \
|
--disable-multilib \
|
||||||
--disable-symvers \
|
--disable-symvers \
|
||||||
--disable-libmpx \
|
--disable-libmpx \
|
||||||
@ -29,13 +33,16 @@ machine=$(gcc -dumpmachine)
|
|||||||
--enable-threads \
|
--enable-threads \
|
||||||
--enable-tls \
|
--enable-tls \
|
||||||
--enable-languages=c,c++ \
|
--enable-languages=c,c++ \
|
||||||
--build="$machine" \
|
--build="$machine"
|
||||||
--target="$machine" \
|
|
||||||
--host="$machine"
|
|
||||||
|
|
||||||
make BOOT_CFLAGS='-O'
|
make BOOT_CFLAGS='-O'
|
||||||
make DESTDIR="$1" install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
|
# Save 35MB.
|
||||||
|
find "$1" -name libgtkpeer.a -delete
|
||||||
|
find "$1" -name libgjsmalsa.a -delete
|
||||||
|
find "$1" -name libgij.a -delete
|
||||||
|
|
||||||
# Remove all info files.
|
# Remove all info files.
|
||||||
rm -rf "$1/usr/share/info"
|
rm -rf "$1/usr/share/info"
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
9.1.0 1
|
9.1.0 2
|
||||||
|
Loading…
Reference in New Issue
Block a user