platform_build/core/clang
Andrew Hsieh 48f239c94f 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
2014-05-09 22:12:49 +08:00
..
arm.mk Build changes necessary for LLVM 3.5 switch. 2014-04-24 13:14:32 -07:00
arm64.mk Add -no-integrated-as for ARM64. 2014-04-30 15:55:52 -07:00
config.mk Disable canonical prefixes of system headers 2014-05-09 22:12:49 +08:00
HOST_x86.mk Make Clang host builds hermetic on Linux. 2014-03-24 19:38:47 -07:00
HOST_x86_64.mk Make Clang host builds hermetic on Linux. 2014-03-24 19:38:47 -07:00
mips.mk Refactor llvm_config.mk and support the 2nd arch 2014-02-07 09:11:22 -08:00
mips64.mk Refactor llvm_config.mk and support the 2nd arch 2014-02-07 09:11:22 -08:00
TARGET_arm.mk Build changes necessary for LLVM 3.5 switch. 2014-04-24 13:14:32 -07:00
TARGET_arm64.mk Remove arm64 clang build warning 2014-03-18 15:58:13 -07:00
TARGET_mips.mk fix 2nd target clang prebuilt paths 2014-02-11 12:48:12 -08:00
TARGET_mips64.mk Refactor llvm_config.mk and support the 2nd arch 2014-02-07 09:11:22 -08:00
TARGET_x86.mk Fix incorrect x86 build rules. 2014-02-13 09:24:29 -08:00
TARGET_x86_64.mk Refactor llvm_config.mk and support the 2nd arch 2014-02-07 09:11:22 -08:00
x86.mk Refactor llvm_config.mk and support the 2nd arch 2014-02-07 09:11:22 -08:00
x86_64.mk Refactor llvm_config.mk and support the 2nd arch 2014-02-07 09:11:22 -08:00
x86_common.mk Build changes necessary for LLVM 3.5 switch. 2014-04-24 13:14:32 -07:00