[iortcw] 40/497: All: When cross compiling on mingw32, make sure it finds a CC

Simon McVittie smcv at debian.org
Fri Sep 8 10:36:11 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 679303190b1b813536ca81b46c413111ea5ce061
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Sat Feb 8 10:01:12 2014 +0000

    All: When cross compiling on mingw32, make sure it finds a CC
---
 MP/Makefile | 4 ++++
 SP/Makefile | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/MP/Makefile b/MP/Makefile
index 7286192..25b4369 100644
--- a/MP/Makefile
+++ b/MP/Makefile
@@ -577,6 +577,10 @@ ifeq ($(PLATFORM),mingw32)
     endif
   endif
 
+  ifeq ($(CC),)
+    $(error Cannot find a suitable cross compiler for $(PLATFORM))
+  endif
+
   BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
     -DUSE_ICON
 
diff --git a/SP/Makefile b/SP/Makefile
index bcbd997..27a73b2 100644
--- a/SP/Makefile
+++ b/SP/Makefile
@@ -586,6 +586,10 @@ ifeq ($(PLATFORM),mingw32)
     endif
   endif
 
+  ifeq ($(CC),)
+    $(error Cannot find a suitable cross compiler for $(PLATFORM))
+  endif
+
   BASE_CFLAGS = -Wall -fno-strict-aliasing \
     -DUSE_ICON
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list