mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-25 13:41:41 +00:00
Enforce static linkage of libgcc on Windows.
This commit is contained in:
parent
800a595225
commit
891e75c568
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -81,6 +81,8 @@ CFLAGS += -DOSTYPE=\"$(OSTYPE)\" -DARCH=\"$(ARCH)\"
|
||||||
# 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