From be44ee078fa5d5470dddd097db0d97fadfc754ff Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 11 Feb 2015 16:19:32 +0200 Subject: Update Mac OS X binary build --- binary/darwin/odb-configure | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'binary/darwin/odb-configure') 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" -- cgit v1.1