diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-15 09:02:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-15 09:02:53 +0200 |
commit | 0c0424b4f321a90028b12beb8959de707224e45e (patch) | |
tree | 767ffadbd487b00fd092b6f4f950477f5a22720b /binary/solaris/odb-configure | |
parent | d1b1d1f6b9583cd4fb08fb2995a2209cfdf627d2 (diff) |
Add Solaris ODB binary build scripts
Diffstat (limited to 'binary/solaris/odb-configure')
-rwxr-xr-x | binary/solaris/odb-configure | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/binary/solaris/odb-configure b/binary/solaris/odb-configure new file mode 100755 index 0000000..3235dc3 --- /dev/null +++ b/binary/solaris/odb-configure @@ -0,0 +1,18 @@ +#! /bin/sh + +if test "$1" = "d"; then + cxx="g++ -nodefaultlibs" + libs="-Wl,-Bstatic,-lstdc++,-Bdynamic -Wl,-lgcc -Wl,-lgcc_eh -Wl,-lm -Wl,-lc" +else + cxx="g++" + libs= +fi + +../odb/configure \ +--with-libcutl=../libcutl \ +--disable-rpath \ +--with-gxx-name=../lib/odb/$2/bin/g++ \ +--with-options-file=../etc/odb/default.options \ +--prefix=$3 \ +--libexecdir=$3/lib \ +CXX="$cxx" CXXFLAGS=-O2 LIBS="$libs" |