aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaire Wolf <clifford@clifford.at>2020-06-25 18:24:48 +0200
committerGitHub <noreply@github.com>2020-06-25 18:24:48 +0200
commit3ce267300984b0163307d1cf0c400af1d354a17a (patch)
tree9dd1dbd1e73d82229705baa5b4f37752a510ed87
parentef4489835c2b5dbea2807c2441ea3b54a66800f5 (diff)
parent41f75569e34ce5cdfa50342b1c1e4699f16b2c03 (diff)
downloadicestorm-3ce267300984b0163307d1cf0c400af1d354a17a.tar.gz
icestorm-3ce267300984b0163307d1cf0c400af1d354a17a.tar.bz2
icestorm-3ce267300984b0163307d1cf0c400af1d354a17a.zip
Merge pull request #253 from SolraBizna/dummy-header-targets
Use -MP to eliminate one way that -MD can fatally confuse make
-rw-r--r--config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 9cb7793..c7f80a3 100644
--- a/config.mk
+++ b/config.mk
@@ -19,8 +19,8 @@ endif
WARN_LEVEL ?= all
LDLIBS = -lm -lstdc++
-CFLAGS += -MD -O$(OPT_LEVEL) $(DBG_LEVEL) -W$(WARN_LEVEL) -std=$(C_STD) -I$(PREFIX)/include
-CXXFLAGS += -MD -O$(OPT_LEVEL) $(DBG_LEVEL) -W$(WARN_LEVEL) -std=$(CXX_STD) -I$(PREFIX)/include
+CFLAGS += -MD -MP -O$(OPT_LEVEL) $(DBG_LEVEL) -W$(WARN_LEVEL) -std=$(C_STD) -I$(PREFIX)/include
+CXXFLAGS += -MD -MP -O$(OPT_LEVEL) $(DBG_LEVEL) -W$(WARN_LEVEL) -std=$(CXX_STD) -I$(PREFIX)/include
DESTDIR ?=
CHIPDB_SUBDIR ?= $(PROGRAM_PREFIX)icebox