minor, change CFLAGS operator to '=' over '+='
authorkremlin <ian@kremlin.cc>
Fri, 15 Aug 2014 20:51:57 +0000 (15:51 -0500)
committerkremlin <ian@kremlin.cc>
Fri, 15 Aug 2014 20:51:57 +0000 (15:51 -0500)
setting CFLAGS in the makefile via += operator
made it tag on an extra -O3 -pipe 1, causing the
debug build to fail as it redundantly specifies
-O0

Makefile

index d5165a645e60efe593d156c1342cc6c424ff04ea..3e47048e525857119a51f2d687cd2194de15c26a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 .PHONY: all
 
 CC?=           /usr/bin/cc
-CFLAGS+=       -Wall -Wextra -Werror -std=c89
+CFLAGS       -Wall -Wextra -Werror -std=c89
 
 DEBUG=         1
 .ifdef DEBUG