mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Don't use -mwindows with Clang on Windows
Thanks to stigmha for pointing out this doesn't work in Windows.
This commit is contained in:
parent
75cce50a9c
commit
3c52f2dccc
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -580,7 +580,10 @@ ifeq ($(PLATFORM),mingw32)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIBS= -lws2_32 -lwinmm -lpsapi
|
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
|
CLIENT_LIBS = -lgdi32 -lole32
|
||||||
RENDERER_LIBS = -lgdi32 -lole32 -lopengl32
|
RENDERER_LIBS = -lgdi32 -lole32 -lopengl32
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue