summaryrefslogtreecommitdiffstats
path: root/core/clang/TARGET_x86_64.mk
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2014-08-29 14:43:53 -0700
committerStephen Hines <srhines@google.com>2014-09-02 09:41:03 -0700
commit41b83d6d3c4baa19d2a34cef5eef730b59555cfa (patch)
tree8740622ba68b46be248033da71ffe51648ea385b /core/clang/TARGET_x86_64.mk
parent424296a4e811f57ada27be68d60aeb5fcb1bb45b (diff)
downloadbuild-41b83d6d3c4baa19d2a34cef5eef730b59555cfa.zip
build-41b83d6d3c4baa19d2a34cef5eef730b59555cfa.tar.gz
build-41b83d6d3c4baa19d2a34cef5eef730b59555cfa.tar.bz2
Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.
Bug: 17333374 Add RS_TRIPLE_CFLAGS to ensure that we build with the proper defines on targets like x86. This also changes all build targets to use the proper 32/64-bit triples when creating their runtime libraries. (cherry picked from commit 039675adb8882b21e770edac1bd167d7fb489052) Change-Id: Ib7b5bb7aae5abcad9ab477a00e368179d0121091
Diffstat (limited to 'core/clang/TARGET_x86_64.mk')
-rw-r--r--core/clang/TARGET_x86_64.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/clang/TARGET_x86_64.mk b/core/clang/TARGET_x86_64.mk
index 14944bd..cc1f59f 100644
--- a/core/clang/TARGET_x86_64.mk
+++ b/core/clang/TARGET_x86_64.mk
@@ -50,4 +50,5 @@ CLANG_TARGET_GLOBAL_LDFLAGS := \
$(call convert-to-clang-flags,$(TARGET_GLOBAL_LDFLAGS)) \
$(CLANG_CONFIG_x86_64_TARGET_EXTRA_LDFLAGS)
-RS_TRIPLE := x86_64-unknown-linux
+RS_TRIPLE := aarch64-linux-android
+RS_TRIPLE_CFLAGS := -D__x86_64__