aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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
commit43b138564438af244bcdc75ead1d6cdc812c7bd9 (patch)
treea876db5874125018a08a48b0463b68b1475e8743 /tools
parentfb539bf5b65cc6902f102bd3da05e0094d1bd241 (diff)
downloadexternal_llvm-43b138564438af244bcdc75ead1d6cdc812c7bd9.zip
external_llvm-43b138564438af244bcdc75ead1d6cdc812c7bd9.tar.gz
external_llvm-43b138564438af244bcdc75ead1d6cdc812c7bd9.tar.bz2
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')
-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 fd8a107..ae09244 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.