flow-tools: do not hardcode CFLAGS
configure script hardcodes CFLAGS, fix that so we can get ours to be used. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39801 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4029b82cf8
commit
46c2e926d1
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2007 OpenWrt.org
|
||||
# Copyright (C) 2007-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:=flow-tools
|
||||
PKG_VERSION:=0.68
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=ftp://ftp.eng.oar.net/pub/flow-tools/
|
||||
|
11
net/flow-tools/patches/090-configure_cflags_override.patch
Normal file
11
net/flow-tools/patches/090-configure_cflags_override.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -1662,7 +1662,7 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst
|
||||
|
||||
|
||||
|
||||
-CFLAGS="-g -Wall"
|
||||
+CFLAGS="${CFLAGS} -g -Wall"
|
||||
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
Loading…
x
Reference in New Issue
Block a user