summaryrefslogtreecommitdiff
path: root/binary/darwin/gcc-configure
blob: fe758e366bbca64f6235ab83c20b1b3888c645ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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