diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-15 08:44:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-15 08:44:41 +0200 |
commit | d845f920ec1f5cd6ef5a95366383e74725912441 (patch) | |
tree | 2969ea00c3dbb1553cde248fc918cfb241f361f6 /binary/darwin/gcc-configure | |
parent | a4a5194f4ffc82aa817f4b8e2d4f6d29dac1a0b9 (diff) |
Add Mac OS X ODB binary build scripts
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 |