summaryrefslogtreecommitdiff
path: root/package/libs/openssl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-08-14 13:02:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-08-14 13:02:33 +0000
commit648bc811f0ae9af96609c1cc6df616a37dad7dbb (patch)
tree82e9e35439146cb575e754fb708b35fd3c690296 /package/libs/openssl
parenta1a5f59ea358fc35805f003466c98f08f5299e9d (diff)
downloadmtk-20170518-648bc811f0ae9af96609c1cc6df616a37dad7dbb.zip
mtk-20170518-648bc811f0ae9af96609c1cc6df616a37dad7dbb.tar.gz
mtk-20170518-648bc811f0ae9af96609c1cc6df616a37dad7dbb.tar.bz2
openssl: to disable mips16, use the new PKG_USE_MIPS16 flag instead of messing with cflags directly
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37771
Diffstat (limited to 'package/libs/openssl')
-rw-r--r--package/libs/openssl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile
index 8b0f524..8f4f93d 100644
--- a/package/libs/openssl/Makefile
+++ b/package/libs/openssl/Makefile
@@ -10,6 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openssl
PKG_VERSION:=1.0.1e
PKG_RELEASE:=2
+PKG_USE_MIPS16:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.openssl.org/source/ \
@@ -120,7 +121,7 @@ define Build/Configure
)
endef
-TARGET_CFLAGS := $(filter-out -mips16 -minterlink-mips16,$(TARGET_CFLAGS)) $(FPIC)
+TARGET_CFLAGS += $(FPIC)
define Build/Compile
# XXX: OpenSSL "make depend" will look for installed headers before its own,