|
|
@ -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)
|
|
|
|
CFLAGS += -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing |
|
|
|
override CFLAGS += -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing |
|
|
|
|
|
|
|
ifeq ($(PLATFORM), PLATFORM_WEB) |
|
|
|
CFLAGS += -std=gnu99 |
|
|
|