summaryrefslogtreecommitdiff
path: root/binary/darwin/gcc-configure
blob: a7e324d2cc4028119c867cee2b2cd73896abaa32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh

../gcc/configure \
--disable-bootstrap \
--enable-languages=c,c++ \
--enable-multiarch \
--enable-targets=i386,x86_64 \
--enable-multilib \
--enable-shared \
--disable-libssp \
--disable-libgomp \
--disable-nls \
--disable-libstdcxx-pch \
--disable-libstdcxx-debug \
--prefix=/$1 \
--enable-plugin \
--build=$1 \
--host=$1 \
--target=$1 \
--enable-cxx-flags=-fPIC \
CFLAGS=-O2 CXXFLAGS=-O2 \
CFLAGS_FOR_TARGET="-O2" CXXFLAGS_FOR_TARGET="-O2" \
CC=gcc-4.2 CXX=g++-4.2