aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mason <clm@fb.com>2014-09-25 16:12:21 -0400
committerChris Mason <clm@fb.com>2014-09-25 16:12:21 -0400
commit40e637347cb326f6f699542558119a716f55d74a (patch)
tree7d1592507af0493dc1c05c26cb4d75e38d829323
parent4eb0e11db526a9017fc609c6728bbdf9eb2b39ba (diff)
downloadblktrace-40e637347cb326f6f699542558119a716f55d74a.tar.gz
iowatcher: fixup the Makefile
We were setting C=gcc instead of CC=gcc, and using -O0. Fix both. Signed-off-by: Chris Mason <clm@fb.com>
-rw-r--r--iowatcher/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/iowatcher/Makefile b/iowatcher/Makefile
index 7b5101c..3551ea0 100644
--- a/iowatcher/Makefile
+++ b/iowatcher/Makefile
@@ -1,5 +1,5 @@
-C = gcc
-CFLAGS = -Wall -O0 -g -W
+CC = gcc
+CFLAGS = -Wall -O2 -g -W -Wunused-result
ALL_CFLAGS = $(CFLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PROGS = iowatcher