summaryrefslogtreecommitdiff
path: root/binary/linux-gnu/odb-configure
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-15 09:00:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-15 09:00:28 +0200
commitd1b1d1f6b9583cd4fb08fb2995a2209cfdf627d2 (patch)
treeb0638edb95713d97945ba2baefffe86b8c0cee83 /binary/linux-gnu/odb-configure
parentd845f920ec1f5cd6ef5a95366383e74725912441 (diff)
Add GNU/Linux ODB binary build scripts
Diffstat (limited to 'binary/linux-gnu/odb-configure')
-rwxr-xr-xbinary/linux-gnu/odb-configure12
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"