mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-19 07:37:01 +02:00
john: fix build on ppc64/ppc
This commit is contained in:
parent
f28052a1b3
commit
6c5d1c8776
1 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,14 @@ homepage="https://www.openwall.com/john/"
|
|||
distfiles="$homepage/k/$pkgname-${version}-jumbo-${_jumbover}.tar.xz"
|
||||
checksum=f5d123f82983c53d8cc598e174394b074be7a77756f5fb5ed8515918c81e7f3b
|
||||
|
||||
# the build system checks the host cpu for features, so when building on
|
||||
# a modern power9 system, it will attempt to shove in -mvsx and so on,
|
||||
# which breaks builds for 970 and 32-bit
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64le*) ;;
|
||||
ppc*) configure_args+=" --disable-simd";;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
unset CPP AS LD
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue