aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2020-11-07 18:48:03 +0000
committerGitHub <noreply@github.com>2020-11-07 18:48:03 +0000
commit630be7e11a5ea2a932e72caec4e944cb2e9c3fd3 (patch)
treeb30aeba4a804c09099cd8434ecd3487f0f9480cf /Makefile
parent6940ef933a67e83bb7f8f8a2270779faeb8dbdd6 (diff)
parent5594594e1604ff2db34e9844be206c6ae17d3838 (diff)
downloadyosys-630be7e11a5ea2a932e72caec4e944cb2e9c3fd3.tar.gz
yosys-630be7e11a5ea2a932e72caec4e944cb2e9c3fd3.tar.bz2
yosys-630be7e11a5ea2a932e72caec4e944cb2e9c3fd3.zip
Merge pull request #2414 from zeldin/abc-depend-clang-fix
Prevent CXXFLAGS from leaking to abc Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a83b21b26..ffee2e2b9 100644
--- a/Makefile
+++ b/Makefile
@@ -661,6 +661,10 @@ ifeq ($(LINK_ABC),1)
OBJS += $(PROGRAM_PREFIX)yosys-libabc.a
endif
+# prevent the CXXFLAGS set by this Makefile from reaching abc/Makefile,
+# especially the -MD flag which will break the build when CXX is clang
+unexport CXXFLAGS
+
top-all: $(TARGETS) $(EXTRA_TARGETS)
@echo ""
@echo " Build successful."