mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-30 01:48:47 +00:00
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
1 changed files with 4 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue