Get rid of -fno-omit-frame-pointer
authorJens Axboe <axboe@kernel.dk>
Thu, 15 Nov 2012 21:58:04 +0000 (14:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 15 Nov 2012 21:58:04 +0000 (14:58 -0700)
It costs a bit of performance. And it's trivial to re-enable
for debug/profiling purposes.

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

index 358977054dbe18b21173e0cc9d85ad15bf4c417b..847323822332abb366eeeaeca03064ac9c85ea01 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ endif
 DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG
 CPPFLAGS= -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
        $(DEBUGFLAGS)
 DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG
 CPPFLAGS= -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
        $(DEBUGFLAGS)
-OPTFLAGS= -O3 -fno-omit-frame-pointer -g $(EXTFLAGS)
+OPTFLAGS= -O3 -g $(EXTFLAGS)
 CFLAGS = -std=gnu99 -Wwrite-strings -Wall $(OPTFLAGS)
 LIBS   = -lm $(EXTLIBS)
 PROGS  = fio
 CFLAGS = -std=gnu99 -Wwrite-strings -Wall $(OPTFLAGS)
 LIBS   = -lm $(EXTLIBS)
 PROGS  = fio