mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
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).
This commit is contained in:
12
configure.ac
12
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
|
||||
|
Reference in New Issue
Block a user