Browse Source

Update Makefile

pull/2253/head
Ray 3 years ago
parent
commit
bf0fed8431
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Makefile

+ 1
- 1
src/Makefile View File

@ -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

Loading…
Cancel
Save