replace -ffast-math with explicit optimizations

gcc usualy does the right thing with -ffast-math but
better be sure and enable only the safe optimizations.
master
Ahmet Inan 2013-02-28 10:47:12 +01:00
rodzic a612a31619
commit 07b0b039df
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
CFLAGS = -g -DUP=0 -DDN=1 -D_GNU_SOURCE=1 -W -Wall -O3 -std=c99 -ffast-math -fsingle-precision-constant $(shell sdl-config --cflags)
CFLAGS = -g -DUP=0 -DDN=1 -D_GNU_SOURCE=1 -W -Wall -O3 -std=c99 -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -fcx-limited-range -fsingle-precision-constant $(shell sdl-config --cflags)
LDFLAGS = -lm -lasound $(shell sdl-config --libs)
all: encode decode debug