diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-11 16:24:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-11 16:24:16 +0200 |
commit | 5bc5025a0af60e0147511726c608adf13b79ba71 (patch) | |
tree | e0fe4460e8bcaa72a1191989f89b2df8d3fdf730 /binary/linux-gnu/gcc-configure | |
parent | 6fe7fc56873b27deef74bc9dc36adf86af4fd79b (diff) |
Update Linux binary build
Diffstat (limited to 'binary/linux-gnu/gcc-configure')
-rwxr-xr-x | binary/linux-gnu/gcc-configure | 14 |
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" |