summaryrefslogtreecommitdiff
path: root/binary/darwin/odb-configure
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-11 16:19:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-11 16:19:32 +0200
commitbe44ee078fa5d5470dddd097db0d97fadfc754ff (patch)
treef24dd05a88dbe2330837bc29f762ce648fd1b162 /binary/darwin/odb-configure
parentec47ef43536bd698f1f1176b5fec3803e149c2ac (diff)
Update Mac OS X binary build
Diffstat (limited to 'binary/darwin/odb-configure')
-rwxr-xr-xbinary/darwin/odb-configure9
1 files changed, 4 insertions, 5 deletions
diff --git a/binary/darwin/odb-configure b/binary/darwin/odb-configure
index b199f2f..0e8af7c 100755
--- a/binary/darwin/odb-configure
+++ b/binary/darwin/odb-configure
@@ -1,9 +1,9 @@
#! /bin/sh
if test "$1" = "d"; then
- libcxx=`g++ --print-file-name libstdc++.a`
- libgcc=`g++ --print-file-name libgcc.a`
- libgcc_eh=`g++ --print-file-name libgcc_eh.a`
+ libcxx=`g++ -m64 --print-file-name libstdc++.a`
+ libgcc=`g++ -m64 --print-file-name libgcc.a`
+ libgcc_eh=`g++ -m64 --print-file-name libgcc_eh.a`
cxx="g++ -nodefaultlibs"
libs="$libcxx $libgcc $libgcc_eh -lSystem"
@@ -19,5 +19,4 @@ fi
--with-options-file=../etc/odb/default.options \
--prefix=$3 \
--libexecdir=$3/lib \
-CXX="$cxx" CXXFLAGS=-O2 LIBS="$libs" \
-CPPFLAGS="-I`/$2/bin/g++ --print-file-name plugin`/include"
+CXX="$cxx" LIBS="$libs" CXXFLAGS="-m64 -O2 -fno-devirtualize"