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