mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-10 06:42:21 +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.
|
||||
ifeq ($(OSTYPE), Darwin)
|
||||
LDFLAGS := -shared -arch i386 -arch x86_64
|
||||
else ifeq ($(OSTYPE), Windows)
|
||||
LDFLAGS := -shared -static-libgcc
|
||||
else
|
||||
LDFLAGS := -shared
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue