From 8054f0a9d29efa66d7956548d1ff96500dfde287 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Thu, 8 Mar 2018 16:57:36 -0800 Subject: [PATCH] Revert "Fix absolute paths in clang debug output" This reverts commit 253cab89eec2dd2f8172811f1e5d8ba3055f2660. It is no longer necessary. Bug: 36463318 Bug: 72408185 Test: compare output directories after `m libc` Test: compare treehugger output files Change-Id: Ib5d7bbc13fa6f547e658247559153c61387e3604 --- cc/config/clang.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cc/config/clang.go b/cc/config/clang.go index 92019897f..7de6f063d 100644 --- a/cc/config/clang.go +++ b/cc/config/clang.go @@ -116,10 +116,6 @@ func init() { // http://b/68236239 Allow 0/NULL instead of using nullptr everywhere. "-Wno-zero-as-null-pointer-constant", - - // http://b/36463318 Clang executes with an absolute path, so clang-provided - // headers are now absolute. - "-fdebug-prefix-map=$$PWD/=", }, " ")) pctx.StaticVariable("ClangExtraCppflags", strings.Join([]string{