mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-24 06:50:20 +01:00
Add some Makefile extra cflags
This commit is contained in:
parent
07ad3250f6
commit
db899deb99
@ -18,7 +18,7 @@ ifeq ($(TARGET_OS),Windows_NT)
|
||||
CFLAGS += -DWIN32
|
||||
endif
|
||||
|
||||
CFLAGS += -Wall -O3 -DVAR_ARRAYS -I../ext_includes $(EXTRA_CFLAGS)
|
||||
CFLAGS += -Wall -Werror=format-security -Wdeclaration-after-statement -Wvla -O3 -DVAR_ARRAYS -I../ext_includes $(EXTRA_CFLAGS)
|
||||
LDFLAGS += -L../src -L../ext_libs -lvgmstream $(EXTRA_LDFLAGS) -lm
|
||||
TARGET_EXT_LIBS =
|
||||
|
||||
@ -26,7 +26,7 @@ LIBAO_INC_PATH = ../../libao/include
|
||||
LIBAO_LIB_PATH = ../../libao/bin
|
||||
|
||||
#ifdef VGM_DEBUG
|
||||
# CFLAGS += -DVGM_DEBUG_OUTPUT -O0 -Werror=format-security -Wdeclaration-after-statement -Wvla
|
||||
# CFLAGS += -DVGM_DEBUG_OUTPUT -O0
|
||||
# CFLAGS += -Wold-style-definition -Woverflow -Wpointer-arith -Wstrict-prototypes -pedantic -std=gnu90 -fstack-protector -Wformat
|
||||
#endif
|
||||
|
||||
|
@ -11,7 +11,7 @@ endif
|
||||
### main defs
|
||||
OUTPUT_WINAMP = in_vgmstream.dll
|
||||
|
||||
CFLAGS += -Wall -O3 -DUSE_ALLOCA -DWIN32 -I../ext_includes $(EXTRA_CFLAGS)
|
||||
CFLAGS += -Wall -Werror=format-security -Wdeclaration-after-statement -Wvla -O3 -DUSE_ALLOCA -DWIN32 -I../ext_includes $(EXTRA_CFLAGS)
|
||||
LDFLAGS += -L../src -L../ext_libs -lm -lvgmstream $(EXTRA_LDFLAGS)
|
||||
TARGET_EXT_LIBS =
|
||||
|
||||
|
@ -11,7 +11,7 @@ endif
|
||||
### main defs
|
||||
OUTPUT_XMPLAY = xmp-vgmstream.dll
|
||||
|
||||
CFLAGS += -Wall -O3 -DUSE_ALLOCA -DWIN32 -I../ext_includes $(EXTRA_CFLAGS)
|
||||
CFLAGS += -Wall -Werror=format-security -Wdeclaration-after-statement -Wvla -O3 -DUSE_ALLOCA -DWIN32 -I../ext_includes $(EXTRA_CFLAGS)
|
||||
LDFLAGS += -L../src -L../ext_libs -lm -lvgmstream $(EXTRA_LDFLAGS)
|
||||
TARGET_EXT_LIBS =
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user