diff options
author | Joseph Myers <joseph@codesourcery.com> | 2007-08-18 15:19:10 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2007-08-18 15:19:10 +0000 |
commit | 8a6ee3abccdd9b52cfb2c743cc9599101e36f8c1 (patch) | |
tree | fc49da87c72c981bc6d52e6641a71a06b760cd6e /configure.ac | |
parent | 4fcb9948bf26d840bae23379d8ac2570b1600a8d (diff) | |
download | gdb-8a6ee3abccdd9b52cfb2c743cc9599101e36f8c1.zip gdb-8a6ee3abccdd9b52cfb2c743cc9599101e36f8c1.tar.gz gdb-8a6ee3abccdd9b52cfb2c743cc9599101e36f8c1.tar.bz2 |
2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it.
* Makefile.in: Regenerate.
* configure.ac (--with-debug-prefix-map): New.
* configure: Regenerate.
config:
2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* mt-gnu (CXXFLAGS_FOR_TARGET): Add
$(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7353fef..e111852 100644 --- a/configure.ac +++ b/configure.ac @@ -1593,6 +1593,18 @@ AC_ARG_WITH([build-sysroot], [SYSROOT_CFLAGS_FOR_TARGET=]) AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET) +AC_ARG_WITH([debug-prefix-map], + [ --with-debug-prefix-map='A=B C=D ...' + map A to B, C to D ... in debug information], + [if test x"$withval" != x; then + DEBUG_PREFIX_CFLAGS_FOR_TARGET= + for debug_map in $withval; do + DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map" + done + fi], + [DEBUG_PREFIX_CFLAGS_FOR_TARGET=]) +AC_SUBST(DEBUG_PREFIX_CFLAGS_FOR_TARGET) + # Handle --with-headers=XXX. If the value is not "yes", the contents of # the named directory are copied to $(tooldir)/sys-include. if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then |