[iortcw] 54/152: All: Cross-compiling using MingW should only pick one GCC executable
Simon McVittie
smcv at debian.org
Fri Sep 8 10:39:59 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to annotated tag 1.5a
in repository iortcw.
commit 2319832887c6fbed2234043c5008b360ee5efe01
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date: Mon May 9 16:53:48 2016 -0400
All: Cross-compiling using MingW should only pick one GCC executable
---
MP/Makefile | 12 ++++++------
SP/Makefile | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/MP/Makefile b/MP/Makefile
index 423ae78..af3a057 100644
--- a/MP/Makefile
+++ b/MP/Makefile
@@ -604,18 +604,18 @@ ifdef MINGW
endif
ifndef CC
- CC=$(strip $(foreach MINGW_PREFIX, $(MINGW_PREFIXES), \
- $(call bin_path, $(MINGW_PREFIX)-gcc)))
+ CC=$(firstword $(strip $(foreach MINGW_PREFIX, $(MINGW_PREFIXES), \
+ $(call bin_path, $(MINGW_PREFIX)-gcc))))
endif
ifndef CXX
- CXX=$(strip $(foreach MINGW_PREFIX, $(MINGW_PREFIXES), \
- $(call bin_path, $(MINGW_PREFIX)-g++)))
+ CXX=$(firstword $(strip $(foreach MINGW_PREFIX, $(MINGW_PREFIXES), \
+ $(call bin_path, $(MINGW_PREFIX)-g++))))
endif
ifndef WINDRES
- WINDRES=$(strip $(foreach MINGW_PREFIX, $(MINGW_PREFIXES), \
- $(call bin_path, $(MINGW_PREFIX)-windres)))
+ WINDRES=$(firstword $(strip $(foreach MINGW_PREFIX, $(MINGW_PREFIXES), \
+ $(call bin_path, $(MINGW_PREFIX)-windres))))
endif
else
# Some MinGW installations define CC to cc, but don't actually provide cc,
diff --git a/SP/Makefile b/SP/Makefile
index c0c5e00..f074551 100644
--- a/SP/Makefile
+++ b/SP/Makefile
@@ -593,18 +593,18 @@ ifdef MINGW
endif
ifndef CC
- CC=$(strip $(foreach MINGW_PREFIX, $(MINGW_PREFIXES), \
- $(call bin_path, $(MINGW_PREFIX)-gcc)))
+ CC=$(firstword $(strip $(foreach MINGW_PREFIX, $(MINGW_PREFIXES), \
+ $(call bin_path, $(MINGW_PREFIX)-gcc))))
endif
ifndef CXX
- CXX=$(strip $(foreach MINGW_PREFIX, $(MINGW_PREFIXES), \
- $(call bin_path, $(MINGW_PREFIX)-g++)))
+ CXX=$(firstword $(strip $(foreach MINGW_PREFIX, $(MINGW_PREFIXES), \
+ $(call bin_path, $(MINGW_PREFIX)-g++))))
endif
ifndef WINDRES
- WINDRES=$(strip $(foreach MINGW_PREFIX, $(MINGW_PREFIXES), \
- $(call bin_path, $(MINGW_PREFIX)-windres)))
+ WINDRES=$(firstword $(strip $(foreach MINGW_PREFIX, $(MINGW_PREFIXES), \
+ $(call bin_path, $(MINGW_PREFIX)-windres))))
endif
else
# Some MinGW installations define CC to cc, but don't actually provide cc,
--
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