aboutsummaryrefslogtreecommitdiff
path: root/config/mt-gnu
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-07-27 18:00:57 +0000
committerMark Mitchell <mark@codesourcery.com>2005-07-27 18:00:57 +0000
commita19b6204a2d6f8a6a48db46630d4e5efb74e81d3 (patch)
tree6c0da286387a4ba5638482cf9e9ce22c2151598d /config/mt-gnu
parent17d4e2a2a84235bd39a6d0405e38a4969d12bfa6 (diff)
downloadgdb-a19b6204a2d6f8a6a48db46630d4e5efb74e81d3.zip
gdb-a19b6204a2d6f8a6a48db46630d4e5efb74e81d3.tar.gz
gdb-a19b6204a2d6f8a6a48db46630d4e5efb74e81d3.tar.bz2
* config/mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.
* Makefile.tpl (SYSROOT_CFLAGS_FOR_TARGET): New variable. (CFLAGS_FOR_TARGET): Use it. (CXXFLAGS_FOR_TARGET): Likewise. * Makefile.in: Regenerated. * configure.in (--with-build-sysroot): New option. * configure: Regenerated.
Diffstat (limited to 'config/mt-gnu')
-rw-r--r--config/mt-gnu2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/mt-gnu b/config/mt-gnu
index 15bf417..f05c4f9 100644
--- a/config/mt-gnu
+++ b/config/mt-gnu
@@ -1 +1 @@
-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE
+CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) -D_GNU_SOURCE