diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/brutefir/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/brutefir/Makefile b/package/brutefir/Makefile index 23577ad23..a65661aad 100644 --- a/package/brutefir/Makefile +++ b/package/brutefir/Makefile @@ -22,9 +22,13 @@ include $(ADK_TOPDIR)/mk/package.mk $(eval $(call PKG_template,BRUTEFIR,brutefir,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) -ifeq ($(ADK_TARGET_ARCH_X86)$(ADK_TARGET_ARCH_X86_64),y) +ifeq ($(ADK_TARGET_CPU_WITH_SSE2),y) +TARGET_CFLAGS+= -msse2 +else +ifeq($ADK_TARGET_CPU_WITH_SSE),y) TARGET_CFLAGS+= -msse endif +endif GCCPATH:= $(subst libgcc.a,,$(shell $(TARGET_CC) -print-libgcc-file-name)) XAKE_FLAGS+= LIBPATHS="-L$(GCCPATH)" |