aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorRobert Ou <rqou@robertou.com>2017-07-16 18:51:54 -0700
committerRobert Ou <rqou@robertou.com>2017-07-16 18:51:54 -0700
commit917afd1a853599034b101c9e035ee690560b46fa (patch)
tree25ed6ad60ee2b2da26eb9b256b0f34771763f20a /config.mk
parent3c42bdbf666d155f8703eda8ebf6dbd20a4e771b (diff)
downloadicestorm-917afd1a853599034b101c9e035ee690560b46fa.tar.gz
icestorm-917afd1a853599034b101c9e035ee690560b46fa.tar.bz2
icestorm-917afd1a853599034b101c9e035ee690560b46fa.zip
makefile: Do not ignore user-provided CFLAGS
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index aeb525f..364f8bc 100644
--- a/config.mk
+++ b/config.mk
@@ -1,8 +1,8 @@
CXX ?= clang++
CC ?= clang
LDLIBS = -lm -lstdc++
-CFLAGS = -MD -O0 -ggdb -Wall -std=c99 -I/usr/local/include
-CXXFLAGS = -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include
+CFLAGS += -MD -O0 -ggdb -Wall -std=c99 -I/usr/local/include
+CXXFLAGS += -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include
PKG_CONFIG ?= pkg-config
DESTDIR ?=
PREFIX ?= /usr/local