Makefile: use -O3 by default
authorJens Axboe <axboe@kernel.dk>
Fri, 7 Oct 2011 11:31:23 +0000 (13:31 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 7 Oct 2011 11:31:23 +0000 (13:31 +0200)
Should be safe.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Makefile

index 84e7a4b..8b8898c 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= -O2 -fno-omit-frame-pointer -g $(EXTFLAGS)
+OPTFLAGS= -O3 -fno-omit-frame-pointer -g $(EXTFLAGS)
 CFLAGS = -std=gnu99 -Wwrite-strings -Wall $(OPTFLAGS)
 LIBS   = -lm $(EXTLIBS)
 PROGS  = fio