You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wine-mono/0054-build-winemono.sh-unse...

28 lines
700 B

From a311dcaa0520d7ab755aea6671740dced221a853 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish@gmail.com>
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