From fb4b054bbee5a9681defd8bfe6fa56d0cc0db390 Mon Sep 17 00:00:00 2001 From: gohai Date: Mon, 13 Mar 2017 20:31:57 +0100 Subject: [PATCH] IO: Compile native code with -ffast-math --- java/libraries/io/src/native/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/libraries/io/src/native/Makefile b/java/libraries/io/src/native/Makefile index c35acf87e..6a2c00373 100644 --- a/java/libraries/io/src/native/Makefile +++ b/java/libraries/io/src/native/Makefile @@ -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