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)