[PATCH] Split CFLAGS into OPTFLAGS + CFLAGS
[fio.git] / Makefile
index b4b2111eb027bbc16dab05cff3d28bd37b34dc0e..75bb758096278d704c47ca7fb6652b147d3c462d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 #CC    = /opt/intel/cce/9.1.045/bin/icc
 CC     = gcc -W
-CFLAGS = -Wwrite-strings -Wall -O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+OPTFLAGS= -O2 -g
+CFLAGS = -Wwrite-strings -Wall -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(OPTFLAGS)
 PROGS  = fio
 SCRIPTS = fio_generate_plots
 OBJS = gettime.o fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o \