From 1b96b6601a3a9a76fc6f89a43d1728687e1c7bc3 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Mon, 22 Apr 2013 10:43:38 +0200 Subject: [PATCH] have to set CC again for windows builds.. --- build-and-test.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5