aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkremlin <ian@kremlin.cc>2014-08-16 04:51:57 +0800
committerkremlin <ian@kremlin.cc>2014-08-16 04:51:57 +0800
commite1d23aa186b890d96334724a604dd56350143a70 (patch)
treec7fb6f94cd6c21837531ec397f973b4608b3f2cf
parent4c6278f6a3c80b29be3e9f0a6c70860facb1182b (diff)
downloadsystembsd-e1d23aa186b890d96334724a604dd56350143a70.tar
systembsd-e1d23aa186b890d96334724a604dd56350143a70.tar.gz
systembsd-e1d23aa186b890d96334724a604dd56350143a70.tar.bz2
systembsd-e1d23aa186b890d96334724a604dd56350143a70.tar.lz
systembsd-e1d23aa186b890d96334724a604dd56350143a70.tar.xz
systembsd-e1d23aa186b890d96334724a604dd56350143a70.tar.zst
systembsd-e1d23aa186b890d96334724a604dd56350143a70.zip
minor, change CFLAGS operator to '=' over '+='
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
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d5165a6..3e47048 100644
--- 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