summaryrefslogtreecommitdiff
path: root/package/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'package/openssl')
-rw-r--r--package/openssl/openssl.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index 500ea2061..fbff929f9 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -11,7 +11,11 @@ OPENSSL_SOURCE:=openssl-$(OPENSSL_VER).tar.gz
OPENSSL_DIR:=$(BUILD_DIR)/openssl-$(OPENSSL_VER)
ifeq ($(BR2_i386),y)
+ifeq ($(ARCH),i686)
+OPENSSL_TARGET_ARCH:=i386-i686/cmov
+else
OPENSSL_TARGET_ARCH:=i386-$(ARCH)
+endif
else
OPENSSL_TARGET_ARCH:=$(ARCH)
endif