summaryrefslogtreecommitdiff
path: root/tools/llvm-shlib
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-02-23 18:40:48 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-02-23 18:40:48 +0000
commit5294af000ab8b868630f5905be19d7f4dbe58b70 (patch)
treea876db5874125018a08a48b0463b68b1475e8743 /tools/llvm-shlib
parent3abd8d4e035a984827f48b39dbef0ef6766195a3 (diff)
downloadllvm-5294af000ab8b868630f5905be19d7f4dbe58b70.tar.gz
llvm-5294af000ab8b868630f5905be19d7f4dbe58b70.tar.bz2
llvm-5294af000ab8b868630f5905be19d7f4dbe58b70.tar.xz
Oops. Pass -lgcc _only_ on ARM, not on everything except ARM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-shlib')
-rw-r--r--tools/llvm-shlib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-shlib/Makefile b/tools/llvm-shlib/Makefile
index fd8a107c47..ae0924402b 100644
--- a/tools/llvm-shlib/Makefile
+++ b/tools/llvm-shlib/Makefile
@@ -58,7 +58,7 @@ ifeq ($(HOST_OS), Linux)
LLVMLibsOptions += -Wl,--warn-shared-textrel
# Don't allow unresolved symbols.
LLVMLibsOptions += -Wl,--no-undefined
- ifneq ($(ARCH), ARM)
+ ifeq ($(ARCH), ARM)
# ARM's shared libgcc omits several of the __sync functions that are
# present in the static libgcc, so we also link in the static gcc. This
# is described at http://gcc.gnu.org/PR40133.