summaryrefslogtreecommitdiff
path: root/binary/linux-gnu/gcc-configure
diff options
context:
space:
mode:
Diffstat (limited to 'binary/linux-gnu/gcc-configure')
-rwxr-xr-xbinary/linux-gnu/gcc-configure14
1 files changed, 5 insertions, 9 deletions
diff --git a/binary/linux-gnu/gcc-configure b/binary/linux-gnu/gcc-configure
index b2872a6..8d1295c 100755
--- a/binary/linux-gnu/gcc-configure
+++ b/binary/linux-gnu/gcc-configure
@@ -1,28 +1,24 @@
#! /bin/sh
-extra=
-
-if test "$1" = "x86_64-linux-gnu"; then
- extra="--libdir=/$1/lib64"
-fi
-
-../../gcc/configure \
+../gcc/configure \
--disable-bootstrap \
--enable-languages=c,c++ \
--disable-multiarch \
+--disable-multilib \
--enable-shared \
--disable-libssp \
--disable-libgomp \
+--disable-libsanitizer \
+--disable-libcilkrts \
--enable-nls \
---disable-multilib \
--disable-libstdcxx-pch \
+--disable-libstdcxx-debug \
--prefix=/$1 \
--enable-plugin \
--build=$1 \
--host=$1 \
--target=$1 \
--enable-cxx-flags=-fPIC \
-$extra \
CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=-s \
CFLAGS_FOR_TARGET="-O2 -fPIC" CXXFLAGS_FOR_TARGET="-O2 -fPIC"