summaryrefslogtreecommitdiff
path: root/binary/mingw-w64/odb-configure
diff options
context:
space:
mode:
Diffstat (limited to 'binary/mingw-w64/odb-configure')
-rwxr-xr-xbinary/mingw-w64/odb-configure14
1 files changed, 14 insertions, 0 deletions
diff --git a/binary/mingw-w64/odb-configure b/binary/mingw-w64/odb-configure
new file mode 100755
index 0000000..fd565a0
--- /dev/null
+++ b/binary/mingw-w64/odb-configure
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+../odb/configure \
+--disable-shared \
+--enable-static \
+--host i686-w64-mingw32 \
+--target i686-w64-mingw32 \
+--prefix=/tmp/odb-$1-i686-windows \
+--with-libcutl=../libcutl \
+--with-gxx-name='..\\mingw\\bin\\g++.exe' \
+--with-options-file='..\\etc\\odb\\default.options' \
+CXXFLAGS="-O2 -W -Wall" \
+LDFLAGS=-static-libgcc \
+CPPFLAGS="-I`pwd`/../gcc-headers/gcc -I`pwd`/../gcc/gcc -I`pwd`/../gcc/libcpp/include -I`pwd`/../gcc/include"