mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #2414 from zeldin/abc-depend-clang-fix
Prevent CXXFLAGS from leaking to abc Makefile
This commit is contained in:
commit
630be7e11a
4
Makefile
4
Makefile
|
@ -661,6 +661,10 @@ ifeq ($(LINK_ABC),1)
|
||||||
OBJS += $(PROGRAM_PREFIX)yosys-libabc.a
|
OBJS += $(PROGRAM_PREFIX)yosys-libabc.a
|
||||||
endif
|
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)
|
top-all: $(TARGETS) $(EXTRA_TARGETS)
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo " Build successful."
|
@echo " Build successful."
|
||||||
|
|
Loading…
Reference in New Issue