yosys: fix cross
[ci skip]
This commit is contained in:
parent
3d53b6895c
commit
86fa545965
@ -14,8 +14,8 @@ license="GPL-3.0-or-later"
|
|||||||
homepage="http://www.clifford.at/yosys/about.html"
|
homepage="http://www.clifford.at/yosys/about.html"
|
||||||
distfiles="https://github.com/cliffordwolf/yosys/archive/yosys-${version}.tar.gz"
|
distfiles="https://github.com/cliffordwolf/yosys/archive/yosys-${version}.tar.gz"
|
||||||
checksum=07760fe732003585b26d97f9e02bcddf242ff7fc33dbd415446ac7c70e85c66f
|
checksum=07760fe732003585b26d97f9e02bcddf242ff7fc33dbd415446ac7c70e85c66f
|
||||||
nocross="gcc refuses to cross compile, current version of clang doesn't ignore -fstack-clash-protection"
|
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
vsed -e "s,CXX = gcc,CXX = ${CC}," -e "s,LD = gcc, LD = ${CC}," -i Makefile
|
||||||
make config-gcc
|
make config-gcc
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user