Pass variables to mingw-w64's configure as parameters instead of inherited via the environment

This makes sure they are remembered if automatically reconfiguring
e.g. due to updated autotools source files.
This commit is contained in:
Martin Storsjö committed 2018-01-10 14:22:09 +02:00
1 parent 583baaa612
commit 266c2fae6d
1 file changed
+2 -2
+2 -2
View File
@@ -56,8 +56,8 @@ for arch in $ARCHS; do
;;
esac
FLAGS="$FLAGS --with-default-msvcrt=ucrtbase"
CC=$arch-w64-mingw32-clang AR=llvm-ar RANLIB=llvm-ranlib DLLTOOL=llvm-dlltool \
../configure --host=$arch-w64-mingw32 --prefix=$PREFIX/$arch-w64-mingw32 $FLAGS
../configure --host=$arch-w64-mingw32 --prefix=$PREFIX/$arch-w64-mingw32 $FLAGS \
CC=$arch-w64-mingw32-clang AR=llvm-ar RANLIB=llvm-ranlib DLLTOOL=llvm-dlltool
make -j$CORES
make install
cd ..