[1/2]Make squasher compatible with Jenkins

Change-Id: I80ffdefa47a34b70725f4f304f231637c20fb6b9
Merge "[1/2]Make squasher compatible with Jenkins" into kk44
Two Squashed commits, from: 1)Qualcomm & 2)AOSP
1. Reduce incorrect PATHS & linker errors from msm clang, especially 3.5,
   by adding -no-canonical-prefixes to: TARGET_GLOBAL_LDFLAGS for msm-% clang,
   as well as addding the following AOSP commit which adds
   -no-canonical-prefixes to: TARGET_GLOBAL_CFLAGS, which are both taken directly
   from the Stock Released Qualcomm llvm/clang setup.mk files, which can both be seen here:
https://github.com/sudosurootdev/prebuilts_clang_linux-x86_host_msm-3.4/blob/stock/arm-linux-androideabi-snapdragonclang3.4/setup.mk
&
https://github.com/sudosurootdev/prebuilts_clang_linux-x86_host_msm-3.5/blob/stock/arm-linux-androideabi-snapdragonclang3.5/setup.mk

2. Disable canonical prefixes of system headers

GCC know a few pre-defined paths (relative to its location) to
search for headers, libraries, program, etc.  By default GCC prefixes
its own path(argv[0]) and calls realpath() which result in absolute
path with all symlink, . and .. removed.

It's usually good to have canonicalised paths, but absolute paths
in *.d file can cause unnecessary relinking when stale entries
in ccache cache hit

Add -no-canonical-prefixes (gcc>=4.6) and
-fno-canonical-system-headers (gcc>4.6) to disable realpath() on
prefixed paths

Change-Id: I58d739e61fb013015fb05a9c98b2132b307f915a
Signed-off-by: sudosurootdev <sudosurootdev@gmail.com>
Merge "Two Squashed commits, from: 1)Qualcomm & 2)AOSP 1. Reduce incorrect PATHS & linker errors from msm clang, especially 3.5,    by adding -no-canonical-prefixes to: TARGET_GLOBAL_LDFLAGS for msm-% clang,    as well as addding the following AOSP commit which adds    -no-canonical-prefixes to: TARGET_GLOBAL_CFLAGS, which are both taken directly    from the Stock Released Qualcomm llvm/clang setup.mk files, which can both be seen here: https://github.com/sudosurootdev/prebuilts_clang_linux-x86_host_msm-3.4/blob/stock/arm-linux-androideabi-snapdragonclang3.4/setup.mk & https://github.com/sudosurootdev/prebuilts_clang_linux-x86_host_msm-3.5/blob/stock/arm-linux-androideabi-snapdragonclang3.5/setup.mk" into kk44
Fix an error with gcc 4.7 introduced by the -fno-canonical-system-headers addition

Change-Id: I2b1696de2d4b496ce3d9496d177d37ddd7b2585f
Merge branch 'kk44' of https://github.com/VanirAOSP/build into vanir-nozomi