mirror of https://github.com/YosysHQ/yosys.git
Prevent CXXFLAGS from leaking to abc Makefile
This fixes an issue with abc/depends.sh when the compiler is clang.
This commit is contained in:
parent
e2a39bb1e7
commit
5594594e16
4
Makefile
4
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."
|
||||
|
|
Loading…
Reference in New Issue