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 96e1f94c88310bff4f1bd4de5a34fa0ea138185e Author: [email protected] <[email protected]@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a> Date: Sat Jul 26 09:31:36 2014 +0000 All: Don't use -mwindows with Clang on Windows --- MP/Makefile | 5 ++++- SP/Makefile | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/MP/Makefile b/MP/Makefile index e6e454b..cc70b61 100644 --- a/MP/Makefile +++ b/MP/Makefile @@ -634,7 +634,10 @@ ifeq ($(PLATFORM),mingw32) endif LIBS= -lws2_32 -lwinmm -lpsapi - CLIENT_LDFLAGS += -mwindows + # clang 3.4 doesn't support this + ifneq ("$(CC)", $(findstring "$(CC)", "clang" "clang++")) + CLIENT_LDFLAGS += -mwindows + endif CLIENT_LIBS = -lgdi32 -lole32 RENDERER_LIBS = -lgdi32 -lole32 -lopengl32 diff --git a/SP/Makefile b/SP/Makefile index 9a79bb2..5c45d50 100644 --- a/SP/Makefile +++ b/SP/Makefile @@ -643,7 +643,10 @@ ifeq ($(PLATFORM),mingw32) endif LIBS= -lws2_32 -lwinmm -lpsapi - CLIENT_LDFLAGS += -mwindows -static-libgcc -static-libstdc++ + # clang 3.4 doesn't support this + ifneq ("$(CC)", $(findstring "$(CC)", "clang" "clang++")) + CLIENT_LDFLAGS += -mwindows + endif CLIENT_LIBS = -lgdi32 -lole32 RENDERER_LIBS = -lgdi32 -lole32 -lopengl32 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

