diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2010-02-23 18:40:48 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2010-02-23 18:40:48 +0000 |
commit | 5294af000ab8b868630f5905be19d7f4dbe58b70 (patch) | |
tree | a876db5874125018a08a48b0463b68b1475e8743 /tools | |
parent | 3abd8d4e035a984827f48b39dbef0ef6766195a3 (diff) | |
download | external_llvm-5294af000ab8b868630f5905be19d7f4dbe58b70.zip external_llvm-5294af000ab8b868630f5905be19d7f4dbe58b70.tar.gz external_llvm-5294af000ab8b868630f5905be19d7f4dbe58b70.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/Makefile | 2 |
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. |