Update Makefile
This commit is contained in:
parent
bf0fed8431
commit
8844ad6f0b
@ -270,7 +270,7 @@ endif
|
||||
# -D_DEFAULT_SOURCE use with -std=c99 on Linux and PLATFORM_WEB, required for timespec
|
||||
# -Werror=pointer-arith catch unportable code that does direct arithmetic on void pointers
|
||||
# -fno-strict-aliasing jar_xm.h does shady stuff (breaks strict aliasing)
|
||||
override CFLAGS += -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing
|
||||
CFLAGS = -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing
|
||||
|
||||
ifeq ($(PLATFORM), PLATFORM_WEB)
|
||||
CFLAGS += -std=gnu99
|
||||
|
Loading…
Reference in New Issue
Block a user