Makefile: static libgcc on Linux only
This commit is contained in:
parent
c52e3994ca
commit
569da67564
5
Makefile
5
Makefile
@ -20,7 +20,10 @@ CFLAGS += -I$(dir $(GLFW))../include
|
||||
CXXFLAGS += -fno-exceptions
|
||||
#CFLAGS += -DDEBUG_BUTTONS
|
||||
#CFLAGS += -DDEBUG_AXES
|
||||
LDFLAGS += -nostdlib++ -lm -static-libgcc
|
||||
LDFLAGS += -nostdlib++ -lm
|
||||
ifeq ($(shell uname),Linux)
|
||||
LDFLAGS += -static-libgcc
|
||||
endif
|
||||
ifeq ($(OS),Windows_NT)
|
||||
LDFLAGS += -Wl,--subsystem,windows -mwindows
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user