1
0
mirror of synced 2026-03-28 11:02:48 +00:00

Merge pull request #2414 from zeldin/abc-depend-clang-fix

Prevent CXXFLAGS from leaking to abc Makefile
This commit is contained in:
whitequark
2020-11-07 18:48:03 +00:00
committed by GitHub

View File

@@ -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."