yosys: fix cross

[ci skip]
This commit is contained in:
Piotr Wójcik 2019-02-20 13:48:07 +01:00 committed by maxice8
parent 3d53b6895c
commit 86fa545965
1 changed files with 1 additions and 1 deletions

View File

@ -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
}