package/aircrack-ng: powerpc arch requires altivec
authorMatt Weber <matthew.weber@rockwellcollins.com>
Tue, 14 Aug 2018 13:38:32 +0000 (08:38 -0500)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 14 Aug 2018 13:51:39 +0000 (15:51 +0200)
The powerpc support in this package currently requires an arch with
altivec accelerator support. This is a bug and the the powerpc arch
should have a non-simd option like ARM/x86.

Upstream issue: https://github.com/aircrack-ng/aircrack-ng/issues/1941

Fixes
http://autobuild.buildroot.net/results/87e82a5e8d0b1c1ff10ec3e59d25bcd56b329075

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/aircrack-ng/Config.in

index f3e2bc4ef12bf7c9fda604e239195146d45ef743..d821c5a0a21e77da9708dd308e5b4a92c3fa0d16 100644 (file)
@@ -4,6 +4,9 @@ config BR2_PACKAGE_AIRCRACK_NG
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_INSTALL_LIBSTDCPP
        depends on !BR2_STATIC_LIBS # dlfcn.h
+       # https://github.com/aircrack-ng/aircrack-ng/issues/1941
+       depends on BR2_POWERPC_CPU_HAS_ALTIVEC || \
+               !(BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le)
        select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBGCRYPT
        help
          A set of tools for auditing wireless networks