mirror of
https://github.com/nmap/nmap.git
synced 2026-10-20 19:01:56 +00:00
Use CPPFLAGS for -I, not CFLAGS or CXXFLAGS
CPPFLAGS is for the C Pre-Processor, and should be used for -I flags. In a couple cases (nping, nmap) this was resulting in duplicate -Ilibpcap arguments.
This commit is contained in:
parent
26665465c6
commit
a379a8ba2b
4 changed files with 8 additions and 16 deletions
|
|
@ -34,7 +34,7 @@ if test "$user_localdirs" = 1; then
|
|||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
fi
|
||||
if test -d /usr/local/include; then
|
||||
CFLAGS="$CFLAGS -I/usr/local/include"
|
||||
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue