diff options
author | Pete Batard <pbatard@gmail.com> | 2010-08-05 01:35:50 +0100 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-08-05 01:35:50 +0100 |
commit | f901e14356f7fb961443e8a7c4782d36827fe15d (patch) | |
tree | 9273c0c0958b0650e88defcf0e8b00cf7b60f613 | |
parent | 30b42bc6544e2c6a8e1809cb6819f670dc206904 (diff) | |
download | libusb-f901e14356f7fb961443e8a7c4782d36827fe15d.tar.gz |
[INTERNAL - NOT FOR RELEASE] bm.sh improvements
added -m32 LDFLAGS
added DLLTOOLFLAGS for 32 bit multilib generation
-rw-r--r-- | bm.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -8,7 +8,9 @@ target=e:/dailies/$date/MinGW32 git clean -f -d -x # Not using debug (-g) in CFLAGS DRAMATICALLY reduces the size of the binaries export CFLAGS="-O2 -m32" +export LDFLAGS="-m32" export RCFLAGS="--target=pe-i386" +export DLLTOOLFLAGS="-m i386 -f --32" echo `pwd` (glibtoolize --version) < /dev/null > /dev/null 2>&1 && LIBTOOLIZE=glibtoolize || LIBTOOLIZE=libtoolize $LIBTOOLIZE --copy --force || exit 1 @@ -32,8 +34,10 @@ make clean # 64 bit binaries # target=e:/dailies/$date/MinGW64 -export CFLAGS="-O2 -m64" +export CFLAGS="-O2" +export LDFLAGS="" export RCFLAGS="" +export DLLTOOLFLAGS="" ./configure --enable-examples-build --enable-toggable-debug make mkdir -p $target/examples |