summaryrefslogtreecommitdiff
path: root/binary/darwin/libcutl-configure
blob: 621d50bd7da75433efa0b6f1d067f4c8b881e7f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

libcxx=`g++ --print-file-name libstdc++.a`
libgcc=`g++ --print-file-name libgcc.a`
libgcc_eh=`g++ --print-file-name libgcc_eh.a`

./configure \
--disable-shared \
--with-pic \
CC="gcc -nodefaultlibs" \
CFLAGS=-O2 \
CXX="g++ -nodefaultlibs" \
CXXFLAGS=-O2 \
LIBS="$libcxx $libgcc $libgcc_eh -lSystem"