aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2010-04-05 20:17:37 -0700
committerRoland McGrath <roland@redhat.com>2010-04-05 20:17:37 -0700
commit2e7c805d5ec1f0d2f46354bca65b1feffa7af63b (patch)
tree5ac5545e680438ec2cfa48ca34243a7a5a399e4c
parentafd46a4c7d49c6c7697591f931f20c745df46e49 (diff)
downloadglibc-2e7c805d5ec1f0d2f46354bca65b1feffa7af63b.zip
glibc-2e7c805d5ec1f0d2f46354bca65b1feffa7af63b.tar.gz
glibc-2e7c805d5ec1f0d2f46354bca65b1feffa7af63b.tar.bz2
Propagate -fdebug-prefix-map from CFLAGS to ASFLAGS.
-rw-r--r--ChangeLog4
-rw-r--r--Makeconfig4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6803147..48bdfec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/Makeconfig b/Makeconfig
index 15cd4ca..cd77fe1 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -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