summaryrefslogtreecommitdiff
path: root/binary/darwin/gcc-configure
diff options
context:
space:
mode:
Diffstat (limited to 'binary/darwin/gcc-configure')
-rwxr-xr-xbinary/darwin/gcc-configure13
1 files changed, 6 insertions, 7 deletions
diff --git a/binary/darwin/gcc-configure b/binary/darwin/gcc-configure
index fe758e3..a7e324d 100755
--- a/binary/darwin/gcc-configure
+++ b/binary/darwin/gcc-configure
@@ -1,15 +1,17 @@
#! /bin/sh
-../../gcc/configure \
+../gcc/configure \
--disable-bootstrap \
--enable-languages=c,c++ \
---disable-multiarch \
+--enable-multiarch \
+--enable-targets=i386,x86_64 \
+--enable-multilib \
--enable-shared \
--disable-libssp \
--disable-libgomp \
--disable-nls \
---disable-multilib \
--disable-libstdcxx-pch \
+--disable-libstdcxx-debug \
--prefix=/$1 \
--enable-plugin \
--build=$1 \
@@ -17,8 +19,5 @@
--target=$1 \
--enable-cxx-flags=-fPIC \
CFLAGS=-O2 CXXFLAGS=-O2 \
-CFLAGS_FOR_TARGET="-O2 -fno-common" CXXFLAGS_FOR_TARGET="-O2 -fno-common" \
+CFLAGS_FOR_TARGET="-O2" CXXFLAGS_FOR_TARGET="-O2" \
CC=gcc-4.2 CXX=g++-4.2
-
-
-# LDFLAGS="-s" -s interferes with plugin test