summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2013-04-17 10:54:53 -0700
committerJens Axboe <axboe@kernel.dk>2013-04-17 10:54:53 -0700
commiteb19930cf6e8315417b01e00669446a383c69690 (patch)
treedfda81ae2dea655bde8840e3296426bba597219a
parent59358c8ef39efea4a2ab141d85b2deebf5cf34fd (diff)
downloadfio-eb19930cf6e8315417b01e00669446a383c69690.tar.gz
fio-eb19930cf6e8315417b01e00669446a383c69690.tar.bz2
Add -Wdeclaration-after-statement to compiler flags
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c5cef311..d10123e7 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ endif
DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG
CPPFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(DEBUGFLAGS)
OPTFLAGS= -O3 -g -ffast-math
-CFLAGS = -std=gnu99 -Wwrite-strings -Wall $(OPTFLAGS) $(EXTFLAGS) $(BUILD_CFLAGS)
+CFLAGS = -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement $(OPTFLAGS) $(EXTFLAGS) $(BUILD_CFLAGS)
LIBS += -lm $(EXTLIBS)
PROGS = fio
SCRIPTS = fio_generate_plots