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
lede-17.01
Florian Fainelli 2013-04-05 12:36:09 +00:00
parent 9dc38e48f7
commit f223d0927e
1 changed files with 2 additions and 0 deletions

View File

@ -124,6 +124,7 @@ define Build/Compile
depend depend
$(_SINGLE)$(MAKE) -C $(PKG_BUILD_DIR) \ $(_SINGLE)$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \ CC="$(TARGET_CC)" \
ASFLAGS="$(TARGET_ASFLAGS) -c" \
AR="$(TARGET_CROSS)ar r" \ AR="$(TARGET_CROSS)ar r" \
RANLIB="$(TARGET_CROSS)ranlib" \ RANLIB="$(TARGET_CROSS)ranlib" \
OPENWRT_OPTIMIZATION_FLAGS="$(TARGET_CFLAGS)" \ OPENWRT_OPTIMIZATION_FLAGS="$(TARGET_CFLAGS)" \
@ -131,6 +132,7 @@ define Build/Compile
all all
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \ CC="$(TARGET_CC)" \
ASFLAGS="$(TARGET_ASFLAGS) -c" \
AR="$(TARGET_CROSS)ar r" \ AR="$(TARGET_CROSS)ar r" \
RANLIB="$(TARGET_CROSS)ranlib" \ RANLIB="$(TARGET_CROSS)ranlib" \
OPENWRT_OPTIMIZATION_FLAGS="$(TARGET_CFLAGS)" \ OPENWRT_OPTIMIZATION_FLAGS="$(TARGET_CFLAGS)" \