From 40a4612e58b3395b5d8322603ac563cc30fb4a81 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 8 Mar 2014 00:58:04 +0000 Subject: [PATCH] avrusbboot: link using our CFLAGS Signed-off-by: Florian Fainelli SVN-Revision: 39835 --- utils/avrusbboot/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/avrusbboot/Makefile b/utils/avrusbboot/Makefile index 91ea97ee9f..81063b01e2 100644 --- a/utils/avrusbboot/Makefile +++ b/utils/avrusbboot/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2008-2011 OpenWrt.org +# Copyright (C) 2008-2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=avrusbboot PKG_VERSION:=2006-06-25 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.fischl.de/avrusbboot/ @@ -42,8 +42,8 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/software \ CXX="$(TARGET_CXX)" \ - CPPFLAGS="$(TARGET_CPPFLAGS) -fno-rtti" \ - LFLAGS="$(TARGET_LDFLAGS) -lusb" \ + CPPFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -fno-rtti" \ + LFLAGS="$(TARGET_LDFLAGS) $(TARGET_CFLAGS) -lusb" \ all endef -- 2.30.2