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 <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39809 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
eaa7a3474e
commit
e70a58092f
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user