diff --git a/srcpkgs/yosys/template b/srcpkgs/yosys/template index 1816213ccc3..4516a7e4c88 100644 --- a/srcpkgs/yosys/template +++ b/srcpkgs/yosys/template @@ -14,8 +14,8 @@ license="GPL-3.0-or-later" homepage="http://www.clifford.at/yosys/about.html" distfiles="https://github.com/cliffordwolf/yosys/archive/yosys-${version}.tar.gz" checksum=07760fe732003585b26d97f9e02bcddf242ff7fc33dbd415446ac7c70e85c66f -nocross="gcc refuses to cross compile, current version of clang doesn't ignore -fstack-clash-protection" pre_build() { + vsed -e "s,CXX = gcc,CXX = ${CC}," -e "s,LD = gcc, LD = ${CC}," -i Makefile make config-gcc }