From: Klas Lindfors Date: Mon, 22 Apr 2013 08:43:38 +0000 (+0200) Subject: have to set CC again for windows builds.. X-Git-Tag: v1.13.0~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b96b6601a3a9a76fc6f89a43d1728687e1c7bc3;p=yubikey-personalization have to set CC again for windows builds.. --- diff --git a/build-and-test.sh b/build-and-test.sh index 3b22cfe..48b58e0 100755 --- a/build-and-test.sh +++ b/build-and-test.sh @@ -9,6 +9,12 @@ if [ "x$LIBUSB" = "xwindows" ]; then ./configure --with-backend=stub touch ChangeLog make dist + + if [ "x$ARCH" = "x32" ]; then + export CC=i686-w64-mingw32-gcc + else + export CC=x86_64-w64-mingw32-gcc + fi make -f ykpers4win.mk ykpers4win${ARCH} `grep ^VERSION Makefile|sed 's/ = /=/'` else ./configure --with-backend=$LIBUSB