nixpkgs/pkgs/development/compilers/yosys/fix-clang-build.patch
Martin Povišer b50d43cc94 yosys: remove pointless patching
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.
2021-11-10 14:25:59 +01:00

13 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"