aboutsummaryrefslogtreecommitdiff
path: root/package/aircrack-ng
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2017-04-27 14:30:14 +0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-04-27 14:16:41 +0200
commitdc1287ee8acf44b0842136fea90ca99e6b083035 (patch)
tree377114e27fb43f8985bb4a89c8fcb59b3786188e /package/aircrack-ng
parent5efbd573c0a4df751e038a927c09af5aac1a233e (diff)
downloadbuildroot-dc1287ee8acf44b0842136fea90ca99e6b083035.tar.gz
buildroot-dc1287ee8acf44b0842136fea90ca99e6b083035.tar.bz2
aircrack-ng: don't build SSE code for non SSE target
Fixes: http://autobuild.buildroot.net/results/763/7631470016f923e8f4a7696e65437c71b8668b6e/ http://autobuild.buildroot.net/results/621/621588651b5cf54726bbf5361399a2dc301b8a29/ http://autobuild.buildroot.net/results/628/628a66ef766308fba699f1faa942306e600e5575/ Cc: Laurent Cans <laurent.cans@gmail.com> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/aircrack-ng')
-rw-r--r--package/aircrack-ng/aircrack-ng.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk
index b728624003..6b384c0720 100644
--- a/package/aircrack-ng/aircrack-ng.mk
+++ b/package/aircrack-ng/aircrack-ng.mk
@@ -53,6 +53,12 @@ else
AIRCRACK_NG_MAKE_OPTS += sqlite=false
endif
+ifeq ($(BR2_X86_CPU_HAS_SSE),y)
+AIRCRACK_NG_MAKE_OPTS += NEWSSE=true
+else
+AIRCRACK_NG_MAKE_OPTS += NEWSSE=false
+endif
+
define AIRCRACK_NG_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) LDFLAGS="$(AIRCRACK_NG_LDFLAGS)" \
$(MAKE) -C $(@D) $(AIRCRACK_NG_MAKE_OPTS)