From 86fa545965f8950e738fc221ead04e24a3c840c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Wed, 20 Feb 2019 13:48:07 +0100 Subject: [PATCH] yosys: fix cross [ci skip] --- srcpkgs/yosys/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }