diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-15 09:00:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-15 09:00:28 +0200 |
commit | d1b1d1f6b9583cd4fb08fb2995a2209cfdf627d2 (patch) | |
tree | b0638edb95713d97945ba2baefffe86b8c0cee83 /binary/linux-gnu/odb-configure | |
parent | d845f920ec1f5cd6ef5a95366383e74725912441 (diff) |
Add GNU/Linux ODB binary build scripts
Diffstat (limited to 'binary/linux-gnu/odb-configure')
-rwxr-xr-x | binary/linux-gnu/odb-configure | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/binary/linux-gnu/odb-configure b/binary/linux-gnu/odb-configure new file mode 100755 index 0000000..2634a24 --- /dev/null +++ b/binary/linux-gnu/odb-configure @@ -0,0 +1,12 @@ +#! /bin/sh + +./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="g++ -nodefaultlibs" \ +CXXFLAGS=-O2 \ +LIBS="-Wl,-Bstatic,-lstdc++,-Bdynamic -Wl,-lgcc -Wl,-lgcc_eh -Wl,-lm -Wl,-lc" |