Enable -ffast-math
authorJens Axboe <axboe@kernel.dk>
Tue, 8 Jan 2013 12:41:35 +0000 (13:41 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 8 Jan 2013 12:41:35 +0000 (13:41 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Makefile

index 7433504..ba8b997 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CC ?= gcc
 DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG
 CPPFLAGS= -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
        $(DEBUGFLAGS)
-OPTFLAGS= -O3 -g $(EXTFLAGS)
+OPTFLAGS= -O3 -g -ffast-math $(EXTFLAGS)
 CFLAGS = -std=gnu99 -Wwrite-strings -Wall $(OPTFLAGS)
 LIBS   = -lm $(EXTLIBS)
 PROGS  = fio