From: Baruch Siach Date: Thu, 27 Apr 2017 11:30:14 +0000 (+0300) Subject: aircrack-ng: don't build SSE code for non SSE target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc1287ee8acf44b0842136fea90ca99e6b083035;p=buildroot.git 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 Cc: Bernd Kuhls Signed-off-by: Baruch Siach Signed-off-by: Peter Korsgaard --- 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)