diff options
author | Tim Murray <timmurray@google.com> | 2014-03-20 13:48:35 -0700 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2014-03-24 19:38:47 -0700 |
commit | 02cefc93a8b7555dd5e45f39348ab1473192983b (patch) | |
tree | 938e50e6d5217484260f7d5a29de0f1f01421727 /core/combo/HOST_linux-x86.mk | |
parent | 8c1bbdb96ee1ea6be4d35236d8af20d5a2d78f6f (diff) | |
download | build-02cefc93a8b7555dd5e45f39348ab1473192983b.zip build-02cefc93a8b7555dd5e45f39348ab1473192983b.tar.gz build-02cefc93a8b7555dd5e45f39348ab1473192983b.tar.bz2 |
Make Clang host builds hermetic on Linux.
This lays the groundwork for making builds hermetic on Darwin as well.
That will be fixed in a future patch.
bug 13435344
Change-Id: Iae82d0b9efad0598d682ff5fd4daa737aa607866
Diffstat (limited to 'core/combo/HOST_linux-x86.mk')
-rw-r--r-- | core/combo/HOST_linux-x86.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/combo/HOST_linux-x86.mk b/core/combo/HOST_linux-x86.mk index 129acb0..3c87264 100644 --- a/core/combo/HOST_linux-x86.mk +++ b/core/combo/HOST_linux-x86.mk @@ -41,10 +41,14 @@ ifneq ($(strip $(BUILD_HOST_64bit)),) # which can benefit from 64-bit host arch. HOST_GLOBAL_CFLAGS += -m64 -Wa,--noexecstack HOST_GLOBAL_LDFLAGS += -m64 -Wl,-z,noexecstack +# gcc location for clang; to be updated when clang is updated +HOST_TOOLCHAIN_FOR_CLANG := prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/ else # We expect SSE3 floating point math. HOST_GLOBAL_CFLAGS += -mstackrealign -msse3 -mfpmath=sse -m32 -Wa,--noexecstack HOST_GLOBAL_LDFLAGS += -m32 -Wl,-z,noexecstack +# gcc location for clang; to be updated when clang is updated +HOST_TOOLCHAIN_FOR_CLANG := prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/ endif # BUILD_HOST_64bit ifneq ($(strip $(BUILD_HOST_static)),) |