* Makefile.in (INTERNAL_CPPFLAGS): New.
authorDaniel Jacobowitz <drow@false.org>
Tue, 22 Aug 2006 19:08:31 +0000 (19:08 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 22 Aug 2006 19:08:31 +0000 (19:08 +0000)
(INTERNAL_CFLAGS_BASE): Use it.

gdb/ChangeLog
gdb/Makefile.in

index 231c3a402aef50abd4b774d774166224276980de..1328dee12c2df587eee06116b248da8337d86a7a 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (INTERNAL_CPPFLAGS): New.
+       (INTERNAL_CFLAGS_BASE): Use it.
+
 2006-08-22  Michael Snyder  <Michael.Snyder@PalmSource.com>
 
        * MAINTAINERS: Update my email address.
index c51ac73161de77f1699d7cfe23bbed462f98091c..5d4b5fceae8999caa99dbb7f112e80834a3b57b4 100644 (file)
@@ -342,6 +342,9 @@ PROFILE_CFLAGS = @PROFILE_CFLAGS@
 # when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
 CFLAGS = @CFLAGS@
 
+# Set by configure, for e.g. expat.
+INTERNAL_CPPFLAGS = @CPPFLAGS@
+
 # Need to pass this to testsuite for "make check".  Probably should be
 # consistent with top-level Makefile.in and gdb/testsuite/Makefile.in
 # so "make check" has the same result no matter where it is run.
@@ -352,7 +355,7 @@ INTERNAL_CFLAGS_BASE = \
        $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
        $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
        $(BFD_CFLAGS) $(INCLUDE_CFLAGS) \
-       $(INTL_CFLAGS) $(ENABLE_CFLAGS)
+       $(INTL_CFLAGS) $(ENABLE_CFLAGS) $(INTERNAL_CPPFLAGS)
 INTERNAL_WARN_CFLAGS = $(INTERNAL_CFLAGS_BASE) $(GDB_WARN_CFLAGS)
 INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS) $(GDB_WERROR_CFLAGS)