diff options
author | Dmitrij Tejblum <tejblum@yandex-team.ru> | 2011-09-27 19:27:17 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-10-17 19:00:02 +0400 |
commit | 566b36ebf903fd873c974ba34c19097d8fb48ce4 (patch) | |
tree | 8205c1387ca019b608e745049c6ebee0c32d6cff | |
parent | ad61af67b548fa787d4c1da0024ba30f8c3b19c8 (diff) |
vtysh: [build] silence preprocessor errors in some cases
* extract.pl.in: use configured CPPFLAGS in cpp invocation.
-rwxr-xr-x | vtysh/extract.pl.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in index 0b9ee516..6f1ee933 100755 --- a/vtysh/extract.pl.in +++ b/vtysh/extract.pl.in @@ -62,7 +62,7 @@ $ignore{'"show history"'} = "ignore"; foreach (@ARGV) { $file = $_; - open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ $file |"); + open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ @CPPFLAGS@ $file |"); local $/; undef $/; $line = <FH>; close (FH); |