diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-02-18 22:11:24 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-02-18 22:11:24 +0000 |
commit | c23d82ce0c6a605f5b9d1d26bd2c66ec442561dd (patch) | |
tree | 0bf6e35f61c0d482464ab75cf6dcc454c6f00fa0 /package/boot/uboot-envtools/Makefile | |
parent | 9eed9c6751e05d0367db4ec22fd237dc943ce95c (diff) |
uboot-envtools: pass target cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39629 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-envtools/Makefile')
-rw-r--r-- | package/boot/uboot-envtools/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile index 8f052889e9..631032c247 100644 --- a/package/boot/uboot-envtools/Makefile +++ b/package/boot/uboot-envtools/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=uboot-envtools PKG_DISTNAME:=u-boot PKG_VERSION:=2013.10 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:= \ @@ -41,6 +41,7 @@ define Build/Compile touch $(PKG_BUILD_DIR)/include/config.h $(MAKE) -C $(PKG_BUILD_DIR) \ HOSTCC="$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)gcc" \ + HOSTOPTFLAGS="$(TARGET_CFLAGS)" \ HOSTSTRIP="$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)strip" \ env endef |