summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitd097117121f37545f719e9f32feb78d8e5cfa2de (patch)
tree013a231b7b1077a3041eb0ab3b3b17ce0452ab8d /llvm/tools/llvm-shlib
parent3a53f4e2404cbc3e57ac2eacc9a9c8d22b6e20c5 (diff)
downloadbcm5719-llvm-d097117121f37545f719e9f32feb78d8e5cfa2de.tar.gz
bcm5719-llvm-d097117121f37545f719e9f32feb78d8e5cfa2de.zip
Oops. Pass -lgcc _only_ on ARM, not on everything except ARM.
llvm-svn: 96965
Diffstat (limited to 'llvm/tools/llvm-shlib')
-rw-r--r--llvm/tools/llvm-shlib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-shlib/Makefile b/llvm/tools/llvm-shlib/Makefile
index fd8a107c473..ae0924402b0 100644
--- a/llvm/tools/llvm-shlib/Makefile
+++ b/llvm/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.
OpenPOWER on IntegriCloud