diff options
author | Patrick McHardy <kaber@trash.net> | 2007-01-10 13:56:05 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2007-01-10 13:56:05 +0000 |
commit | 83321c034d75278d070192a3125bf176718f60da (patch) | |
tree | aa88455c98c8786988513dcba6f0ee95a1bb0544 /extensions/libipt_rpc.c | |
parent | a565d4e81c6c4298e783bf0ae11ce4540d595f47 (diff) |
Fix greedy debug grep
From Bugzilla #527:
if you have a kernel with say a '-g' in it, then KERNEL_DIR will include the
'-g' in it, CFLAGS will include the '-g' in it, and then the grep will think you
have -g in your CFLAGS
for example, if you use the grsec or gentoo patchset:
$ uname -r
2.6.19.1-grsec
$ uname -r
2.6.19-gentoo-r2
then your CFLAGS will look like:
-O2 -Wall -Wunused -I"/lib/modules/2.6.19.1-grsec/build"/include -Iinclude/
-DIPTABLES_VERSION=\"1.3.7\"
and the greedy check grep will incorrectly flag this:
egrep -e '-g|-pg|IPTC_DEBUG'
Diffstat (limited to 'extensions/libipt_rpc.c')
0 files changed, 0 insertions, 0 deletions