commit | 40e637347cb326f6f699542558119a716f55d74a | [log] [tgz] |
---|---|---|
author | Chris Mason <clm@fb.com> | Thu Sep 25 16:12:21 2014 -0400 |
committer | Chris Mason <clm@fb.com> | Thu Sep 25 16:12:21 2014 -0400 |
tree | 7d1592507af0493dc1c05c26cb4d75e38d829323 | |
parent | 4eb0e11db526a9017fc609c6728bbdf9eb2b39ba [diff] |
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>
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