mirror of https://git.FreeBSD.org/ports.git
security/botan3: fix build on powerpc64
1. Actually fix detection of Crypto extensions. 2. --disable-powercrypto no longer works: configure.py: error: no such option: --disable-powercrypto Explicitly disable modules using VSX and Crypto.
This commit is contained in:
parent
093403c8e7
commit
4a3f2a2ba6
|
@ -81,8 +81,8 @@ CHOSEN_COMPILER_TYPE= clang
|
|||
CONFIGURE_ARGS+= --cc-abi="-march=armv8-a+crypto"
|
||||
.elif ${ARCH:Mpowerpc64*}
|
||||
CONFIGURE_ARGS+= --cpu="ppc64"
|
||||
.if !defined(MACHINE_CPU) || (defined(MACHINE_CPU) && !${MACHINE_ABI:Mvsx2})
|
||||
CONFIGURE_ARGS+= --disable-powercrypto
|
||||
.if !defined(MACHINE_CPU) || (defined(MACHINE_CPU) && !${MACHINE_CPU:Mvsx2})
|
||||
CONFIGURE_ARGS+= --disable-modules=aes_power8,ghash_cpu
|
||||
.endif
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue