aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-08-22 19:08:31 +0000
committerDaniel Jacobowitz <drow@false.org>2006-08-22 19:08:31 +0000
commitd3f4f91a6f0ddc0fb565cca9c12a7d31fac764fd (patch)
tree82bb182da831727e61ef634cb1f79baabfb42dc2 /gdb/Makefile.in
parenta98b27f2d32f2b0c0b61d7442f7b70536d46bb5c (diff)
downloadgdb-d3f4f91a6f0ddc0fb565cca9c12a7d31fac764fd.zip
gdb-d3f4f91a6f0ddc0fb565cca9c12a7d31fac764fd.tar.gz
gdb-d3f4f91a6f0ddc0fb565cca9c12a7d31fac764fd.tar.bz2
* Makefile.in (INTERNAL_CPPFLAGS): New.
(INTERNAL_CFLAGS_BASE): Use it.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index c51ac73..5d4b5fc 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -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)