summaryrefslogtreecommitdiff
path: root/package/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'package/openssl')
-rw-r--r--package/openssl/openssl.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index 0e6177135..32a52eb57 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -12,12 +12,12 @@ OPENSSL_DIR:=$(BUILD_DIR)/openssl-$(OPENSSL_VER)
OPENSSL_TARGET_ARCH:=
ifeq ($(BR2_i386),y)
-ifeq ($(ARCH),i686)
-OPENSSL_TARGET_ARCH:=i386-i686/cmov
-endif
ifneq ($(ARCH),i386)
OPENSSL_TARGET_ARCH:=i386-$(ARCH)
endif
+ifeq ($(ARCH),i686)
+OPENSSL_TARGET_ARCH:=i386-i686/cmov
+endif
endif
ifeq ($(OPENSSL_TARGET_ARCH),)
OPENSSL_TARGET_ARCH:=$(ARCH)