forked from mirrors/nixpkgs
b50d43cc94
This fixes the patch introduced in:
94a047ca74
(yosys: fix build on darwin, 2021-11-09)
Because we supply yosys with an external build of ABC, the patched
ABCMKARGS variable is without influence. Even if we were building with
in-tree ABC, that part of the patch is wrong, so drop it altogether.
14 lines
275 B
Diff
14 lines
275 B
Diff
diff --git a/Makefile b/Makefile
|
|
index 86abc6958..a72f7b792 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -187,7 +192,7 @@ endif
|
|
endif
|
|
|
|
ifeq ($(CONFIG),clang)
|
|
-CXX = clang
|
|
+CXX = clang++
|
|
LD = clang++
|
|
CXXFLAGS += -std=$(CXXSTD) -Os
|
|
ABCMKARGS += ARCHFLAGS="-DABC_USE_STDINT_H"
|