mirror of
https://github.com/yquake2/ctf.git
synced 2024-11-10 06:31:34 +00:00
Enforce static linkage of libgcc on Windows.
This commit is contained in:
parent
327cea19f5
commit
6f1b2f101f
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -62,6 +62,8 @@ endif
|
||||||
# Base LDFLAGS.
|
# Base LDFLAGS.
|
||||||
ifeq ($(OSTYPE), Darwin)
|
ifeq ($(OSTYPE), Darwin)
|
||||||
LDFLAGS := -shared -arch i386 -arch x86_64
|
LDFLAGS := -shared -arch i386 -arch x86_64
|
||||||
|
else ifeq ($(OSTYPE), Windows)
|
||||||
|
LDFLAGS := -shared -static-libgcc
|
||||||
else
|
else
|
||||||
LDFLAGS := -shared
|
LDFLAGS := -shared
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue