kopia lustrzana https://github.com/xdsopl/robot36
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
rodzic
a612a31619
commit
07b0b039df
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue