summaryrefslogtreecommitdiff
path: root/binary/darwin/libcutl-configure
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-15 08:44:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-15 08:44:41 +0200
commitd845f920ec1f5cd6ef5a95366383e74725912441 (patch)
tree2969ea00c3dbb1553cde248fc918cfb241f361f6 /binary/darwin/libcutl-configure
parenta4a5194f4ffc82aa817f4b8e2d4f6d29dac1a0b9 (diff)
Add Mac OS X ODB binary build scripts
Diffstat (limited to 'binary/darwin/libcutl-configure')
-rwxr-xr-xbinary/darwin/libcutl-configure12
1 files changed, 12 insertions, 0 deletions
diff --git a/binary/darwin/libcutl-configure b/binary/darwin/libcutl-configure
new file mode 100755
index 0000000..daab3ad
--- /dev/null
+++ b/binary/darwin/libcutl-configure
@@ -0,0 +1,12 @@
+#! /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 \
+CXX="g++ -nodefaultlibs" \
+CXXFLAGS=-O2 \
+LIBS="$libcxx $libgcc $libgcc_eh -lSystem"