aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-11-09 09:03:29 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-09 09:03:29 +0000
commitbe6a9d44402312f09b063d64da4bf4e7ffb4de15 (patch)
tree2a8c690c0ca346d2ab2f3956c8a24865e2161c15
parent1d9b6a26f60c0d5c8ad2dd4974e6d1cb890dba02 (diff)
parent2a9316a6c86a257f0c80f46f067423399a05e49a (diff)
downloadexternal_llvm-be6a9d44402312f09b063d64da4bf4e7ffb4de15.zip
external_llvm-be6a9d44402312f09b063d64da4bf4e7ffb4de15.tar.gz
external_llvm-be6a9d44402312f09b063d64da4bf4e7ffb4de15.tar.bz2
am 2a9316a6: Merge "Don\'t use libgcc_s on Darwin."
* commit '2a9316a6c86a257f0c80f46f067423399a05e49a': Don't use libgcc_s on Darwin.
-rw-r--r--llvm-host-build.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm-host-build.mk b/llvm-host-build.mk
index f3275ba..a3c9539 100644
--- a/llvm-host-build.mk
+++ b/llvm-host-build.mk
@@ -51,8 +51,10 @@ LOCAL_C_INCLUDES := \
# Add on ncurses to have support for terminfo
ifneq ($(HOST_OS),windows)
-LOCAL_LDLIBS += -lncurses \
- -lgcc_s
+LOCAL_LDLIBS += -lncurses
+ifneq ($(HOST_OS),darwin)
+LOCAL_LDLIBS += -lgcc_s
+endif
endif
LOCAL_IS_HOST_MODULE := true