aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-host-build.mk
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2014-11-08 10:36:45 -0800
committerStephen Hines <srhines@google.com>2014-11-08 10:41:41 -0800
commit210c00452153df89a15594b969b9be2bc7596945 (patch)
tree7e5e6709ceb9ca93fb638df2eed497a41984e358 /llvm-host-build.mk
parentfd8cbaa7d632c2eedbfe72fd58f513e6ad828575 (diff)
downloadexternal_llvm-210c00452153df89a15594b969b9be2bc7596945.zip
external_llvm-210c00452153df89a15594b969b9be2bc7596945.tar.gz
external_llvm-210c00452153df89a15594b969b9be2bc7596945.tar.bz2
Enable 64-bit builds of all host LLVM tools.
Bug: 10653601 Bug: 13751317 We need to manually specify the same libgcc_s that is linked with all other host tools, because the libc++ build rules explicitly pass -nodefaultlibs. Change-Id: If85ebb2949f456a2ed5cc412e7d1510cc72a3c76
Diffstat (limited to 'llvm-host-build.mk')
-rw-r--r--llvm-host-build.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm-host-build.mk b/llvm-host-build.mk
index 8e5bcc0..f3275ba 100644
--- a/llvm-host-build.mk
+++ b/llvm-host-build.mk
@@ -51,13 +51,12 @@ LOCAL_C_INCLUDES := \
# Add on ncurses to have support for terminfo
ifneq ($(HOST_OS),windows)
-LOCAL_LDLIBS += -lncurses
+LOCAL_LDLIBS += -lncurses \
+ -lgcc_s
endif
LOCAL_IS_HOST_MODULE := true
-LOCAL_32_BIT_ONLY := true
-
###########################################################
## Commands for running tblgen to compile a td file
###########################################################