Propagate -fdebug-prefix-map from CFLAGS to ASFLAGS.

This commit is contained in:
Paul Pluzhnikov 2010-04-05 20:17:37 -07:00 committed by Roland McGrath
parent afd46a4c7d
commit 2e7c805d5e
2 changed files with 6 additions and 2 deletions

View File

@ -9,6 +9,10 @@
* elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast.
2010-03-30 Paul Pluzhnikov <ppluzhnikov@google.com>
* Makeconfig: Propagate -fdebug-prefix-map from CFLAGS to ASFLAGS.
2010-03-30 Joseph Myers <joseph@codesourcery.com>
* elf/elf.h (ELFOSABI_ARM_AEABI): Define.

View File

@ -1,4 +1,4 @@
# Copyright (C) 1991-2003,2004,2005,2006,2007,2008,2009
# Copyright (C) 1991-2003,2004,2005,2006,2007,2008,2009,2010
# Free Software Foundation, Inc.
# This file is part of the GNU C Library.
@ -780,7 +780,7 @@ endif
# The assembler can generate debug information too.
ifndef ASFLAGS
ifeq ($(have-cpp-asm-debuginfo),yes)
ASFLAGS := $(filter -g%,$(CFLAGS))
ASFLAGS := $(filter -g% -fdebug-prefix-map=%,$(CFLAGS))
else
ASFLAGS :=
endif