From a311dcaa0520d7ab755aea6671740dced221a853 Mon Sep 17 00:00:00 2001 From: Austin English Date: Mon, 11 Jun 2012 20:18:24 -0500 Subject: [PATCH 54/55] build-winemono.sh: unset CC when cross compiling, otherwise a native compiler will be used which fails. --- build-winemono.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-winemono.sh b/build-winemono.sh index 034cdeb..5fca71c 100755 --- a/build-winemono.sh +++ b/build-winemono.sh @@ -43,6 +43,9 @@ done cross_build_mono () { + # Unset CC, if it is set, otherwise the build scripts will attempt to use the wrong compiler + unset CC + local MINGW=$1 local ARCH=$2 -- 1.7.10.2