packages/net/flow-tools/patches/090-configure_cflags_override.patch
florian 46c2e926d1 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
2014-03-08 00:56:39 +00:00

12 lines
186 B
Diff

--- 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'