Re-enable -O2 optimization
authorJens Axboe <axboe@kernel.dk>
Wed, 5 Oct 2011 08:14:19 +0000 (10:14 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 5 Oct 2011 08:14:19 +0000 (10:14 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Makefile

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