mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
ffcall: enable cross build
This commit is contained in:
parent
a1ed3c46de
commit
244c63c67d
1 changed files with 4 additions and 1 deletions
|
@ -10,11 +10,14 @@ license="GPL-2.0-or-later"
|
||||||
homepage="https://www.gnu.org/software/libffcall"
|
homepage="https://www.gnu.org/software/libffcall"
|
||||||
distfiles="${GNU_SITE}/libffcall/libffcall-${version}.tar.gz"
|
distfiles="${GNU_SITE}/libffcall/libffcall-${version}.tar.gz"
|
||||||
checksum=a091fb8bbabf17c94a2dae2d41161b96a08ab92b5f75d3364157a2c34d538c47
|
checksum=a091fb8bbabf17c94a2dae2d41161b96a08ab92b5f75d3364157a2c34d538c47
|
||||||
nocross="configure requires running code to check for features"
|
|
||||||
|
|
||||||
# won't work with parallel_build so just turn it off (thanks to JuanRP for the Hint)
|
# won't work with parallel_build so just turn it off (thanks to JuanRP for the Hint)
|
||||||
disable_parallel_build=yes
|
disable_parallel_build=yes
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
configure_args+=" ffcall_cv_malloc_mprotect_can_exec=yes"
|
||||||
|
fi
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} htmldir=/usr/share/doc/ffcall install
|
make DESTDIR=${DESTDIR} htmldir=/usr/share/doc/ffcall install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue