summaryrefslogtreecommitdiff
path: root/binary/darwin/odb-configure
diff options
context:
space:
mode:
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"