diff options
author | whitequark <whitequark@whitequark.org> | 2020-08-26 16:53:47 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2020-08-26 16:56:10 +0000 |
commit | deb19e1574621ea3dfafaaa3963e4164ba2d2684 (patch) | |
tree | 0799bbcd0a94df8ddcf87f14ad7bfee3aeed2094 | |
parent | 4f2b78e19af3a2d342efe9780e220282b7a3a046 (diff) | |
download | yosys-deb19e1574621ea3dfafaaa3963e4164ba2d2684.tar.gz yosys-deb19e1574621ea3dfafaaa3963e4164ba2d2684.tar.bz2 yosys-deb19e1574621ea3dfafaaa3963e4164ba2d2684.zip |
Add -MP to CXXFLAGS.
This avoids an issue where deleting or moving headers breaks the next
incremental build until the outdated *.d files are deleted.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,7 @@ all: top-all YOSYS_SRC := $(dir $(firstword $(MAKEFILE_LIST))) VPATH := $(YOSYS_SRC) -CXXFLAGS := $(CXXFLAGS) -Wall -Wextra -ggdb -I. -I"$(YOSYS_SRC)" -MD -D_YOSYS_ -fPIC -I$(PREFIX)/include +CXXFLAGS := $(CXXFLAGS) -Wall -Wextra -ggdb -I. -I"$(YOSYS_SRC)" -MD -MP -D_YOSYS_ -fPIC -I$(PREFIX)/include LDLIBS := $(LDLIBS) -lstdc++ -lm PLUGIN_LDFLAGS := |