Skip to content

Commit 3e1c8de

Browse files
committed
IO: Compile native code with -ffast-math
1 parent b77cbfe commit 3e1c8de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/libraries/io/src/native/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ OBJS := impl.o
33
CC := gcc
44

55
# prefix with -m32 to compile for linux32
6-
CFLAGS := -std=gnu99 -fPIC -g
6+
CFLAGS := -std=gnu99 -fPIC -g -ffast-math
77
CFLAGS += -I$(shell dirname $(shell realpath $(shell which javac)))/../include
88
CFLAGS += -I$(shell dirname $(shell realpath $(shell which javac)))/../include/linux
99
LDFLAGS := -shared

0 commit comments

Comments
 (0)