summaryrefslogtreecommitdiff
path: root/package/libs/openssl
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-04-05 12:36:09 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-04-05 12:36:09 +0000
commitf223d0927ecc0e3b1b66df010a449543a6e5c6a4 (patch)
tree00113aed7993b99893f1d909d1d8022d76e83bde /package/libs/openssl
parent9dc38e48f7a6f88b7ac7bfaced91f53660204e46 (diff)
downloadmtk-20170518-f223d0927ecc0e3b1b66df010a449543a6e5c6a4.zip
mtk-20170518-f223d0927ecc0e3b1b66df010a449543a6e5c6a4.tar.gz
mtk-20170518-f223d0927ecc0e3b1b66df010a449543a6e5c6a4.tar.bz2
openssl: Pass in any TARGET_ASFLAGS
Packages not picking up the regular TARGET_AS need their openwrt Makefiles tweaked. For a basic build, that's just openssl. This depends on patch 1/5. Signed-off-by: Jay Carlson <nop@nop.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36201
Diffstat (limited to 'package/libs/openssl')
-rw-r--r--package/libs/openssl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile
index a8b3257..049aad4 100644
--- a/package/libs/openssl/Makefile
+++ b/package/libs/openssl/Makefile
@@ -124,6 +124,7 @@ define Build/Compile
depend
$(_SINGLE)$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
+ ASFLAGS="$(TARGET_ASFLAGS) -c" \
AR="$(TARGET_CROSS)ar r" \
RANLIB="$(TARGET_CROSS)ranlib" \
OPENWRT_OPTIMIZATION_FLAGS="$(TARGET_CFLAGS)" \
@@ -131,6 +132,7 @@ define Build/Compile
all
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
+ ASFLAGS="$(TARGET_ASFLAGS) -c" \
AR="$(TARGET_CROSS)ar r" \
RANLIB="$(TARGET_CROSS)ranlib" \
OPENWRT_OPTIMIZATION_FLAGS="$(TARGET_CFLAGS)" \