IO: Compile native code with -ffast-math

This commit is contained in:
gohai
2017-03-13 20:31:57 +01:00
parent 7c49c34cce
commit fb4b054bbe

View File

@@ -3,7 +3,7 @@ OBJS := impl.o
CC := gcc
# prefix with -m32 to compile for linux32
CFLAGS := -std=gnu99 -fPIC -g
CFLAGS := -std=gnu99 -fPIC -g -ffast-math
CFLAGS += -I$(shell dirname $(shell realpath $(shell which javac)))/../include
CFLAGS += -I$(shell dirname $(shell realpath $(shell which javac)))/../include/linux
LDFLAGS := -shared