summaryrefslogtreecommitdiff
path: root/binary/linux-gnu/odb-configure
blob: 2634a24c3d24c023609d6134a8ba631b2e5fe8c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
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"