Merge changes Ie8ecb6c9,Ia9befd7c

* changes:
  Use relative paths in copygcclib.sh deps files
  Move -fno-canonical-system-headers to global cflags
This commit is contained in:
Treehugger Robot 2017-11-06 23:04:09 +00:00 committed by Gerrit Code Review
commit a632e9f4d2
2 changed files with 2 additions and 2 deletions

View File

@ -36,6 +36,7 @@ var (
// Make paths in deps files relative
"-no-canonical-prefixes",
"-fno-canonical-system-headers",
"-DNDEBUG",
"-UDEBUG",
@ -54,7 +55,6 @@ var (
deviceGlobalCflags = []string{
"-fdiagnostics-color",
"-fno-canonical-system-headers",
"-ffunction-sections",
"-funwind-tables",
"-fstack-protector-strong",

View File

@ -2,6 +2,6 @@
OUT=$1
shift
LIBPATH=$($@)
LIBPATH=$($@ | sed -e "s|^$PWD/||")
cp -f $LIBPATH $OUT
echo "$OUT: $LIBPATH" > ${OUT}.d