From e70a58092fdebcf1122901c5edac0e6b40afc23c Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 8 Mar 2014 00:56:59 +0000 Subject: [PATCH] imsnif: use TARGET_CFLAGS TARGET_CFLAGS contains all the ABI specific information we might need, make sure this gets passed to the g++ compiler Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/packages@39809 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/imsnif/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/imsnif/Makefile b/net/imsnif/Makefile index 35eb64fc1..f10174918 100644 --- a/net/imsnif/Makefile +++ b/net/imsnif/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:=imsnif PKG_VERSION:=0.04 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE_URL:=@SF/im-snif PKG_SOURCE:=$(PKG_NAME)f_$(PKG_VERSION).tgz @@ -36,7 +36,7 @@ define Package/imsnif/description endef define Build/Compile - $(TARGET_CXX) $(TARGET_CPPFLAGS) -fno-rtti -I$(LINUX_DIR)/include \ + $(TARGET_CXX) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -fno-rtti -I$(LINUX_DIR)/include \ -o $(PKG_BUILD_DIR)/src/imsnif \ $(PKG_BUILD_DIR)/src/imsniff.cpp \ $(PKG_BUILD_DIR)/src/util.cpp \