diff options
Diffstat (limited to 'binary/darwin/gcc-configure')
-rwxr-xr-x | binary/darwin/gcc-configure | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/binary/darwin/gcc-configure b/binary/darwin/gcc-configure new file mode 100755 index 0000000..fe758e3 --- /dev/null +++ b/binary/darwin/gcc-configure @@ -0,0 +1,24 @@ +#! /bin/sh + +../../gcc/configure \ +--disable-bootstrap \ +--enable-languages=c,c++ \ +--disable-multiarch \ +--enable-shared \ +--disable-libssp \ +--disable-libgomp \ +--disable-nls \ +--disable-multilib \ +--disable-libstdcxx-pch \ +--prefix=/$1 \ +--enable-plugin \ +--build=$1 \ +--host=$1 \ +--target=$1 \ +--enable-cxx-flags=-fPIC \ +CFLAGS=-O2 CXXFLAGS=-O2 \ +CFLAGS_FOR_TARGET="-O2 -fno-common" CXXFLAGS_FOR_TARGET="-O2 -fno-common" \ +CC=gcc-4.2 CXX=g++-4.2 + + +# LDFLAGS="-s" -s interferes with plugin test |