mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 01:30:49 +01:00
Add fast float math in Makefiles
This commit is contained in:
parent
6a05fe71b0
commit
8ca481e347
@ -18,7 +18,7 @@ ifeq ($(TARGET_OS),Windows_NT)
|
|||||||
CFLAGS += -DWIN32
|
CFLAGS += -DWIN32
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -Wall -Werror=format-security -Wdeclaration-after-statement -Wvla -O3 -DVAR_ARRAYS -I../ext_includes $(EXTRA_CFLAGS)
|
CFLAGS += -ffast-math -O3 -Wall -Werror=format-security -Wdeclaration-after-statement -Wvla -DVAR_ARRAYS -I../ext_includes $(EXTRA_CFLAGS)
|
||||||
LDFLAGS += -L../src -L../ext_libs -lvgmstream $(EXTRA_LDFLAGS) -lm
|
LDFLAGS += -L../src -L../ext_libs -lvgmstream $(EXTRA_LDFLAGS) -lm
|
||||||
TARGET_EXT_LIBS =
|
TARGET_EXT_LIBS =
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ endif
|
|||||||
### main defs
|
### main defs
|
||||||
OUTPUT_WINAMP = in_vgmstream.dll
|
OUTPUT_WINAMP = in_vgmstream.dll
|
||||||
|
|
||||||
CFLAGS += -Wall -Werror=format-security -Wdeclaration-after-statement -Wvla -O3 -DUSE_ALLOCA -DWIN32 -I../ext_includes $(EXTRA_CFLAGS)
|
CFLAGS += -ffast-math -O3 -Wall -Werror=format-security -Wdeclaration-after-statement -Wvla -DUSE_ALLOCA -DWIN32 -I../ext_includes $(EXTRA_CFLAGS)
|
||||||
LDFLAGS += -L../src -L../ext_libs -lm -lvgmstream $(EXTRA_LDFLAGS)
|
LDFLAGS += -L../src -L../ext_libs -lm -lvgmstream $(EXTRA_LDFLAGS)
|
||||||
TARGET_EXT_LIBS =
|
TARGET_EXT_LIBS =
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ endif
|
|||||||
### main defs
|
### main defs
|
||||||
OUTPUT_XMPLAY = xmp-vgmstream.dll
|
OUTPUT_XMPLAY = xmp-vgmstream.dll
|
||||||
|
|
||||||
CFLAGS += -Wall -Werror=format-security -Wdeclaration-after-statement -Wvla -O3 -DUSE_ALLOCA -DWIN32 -I../ext_includes $(EXTRA_CFLAGS)
|
CFLAGS += -ffast-math -O3 -Wall -Werror=format-security -Wdeclaration-after-statement -Wvla -DUSE_ALLOCA -DWIN32 -I../ext_includes $(EXTRA_CFLAGS)
|
||||||
LDFLAGS += -L../src -L../ext_libs -lm -lvgmstream $(EXTRA_LDFLAGS)
|
LDFLAGS += -L../src -L../ext_libs -lm -lvgmstream $(EXTRA_LDFLAGS)
|
||||||
TARGET_EXT_LIBS =
|
TARGET_EXT_LIBS =
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user