From 5294af000ab8b868630f5905be19d7f4dbe58b70 Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Tue, 23 Feb 2010 18:40:48 +0000 Subject: [PATCH] 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 --- tools/llvm-shlib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvm-shlib/Makefile b/tools/llvm-shlib/Makefile index fd8a107c473..ae0924402b0 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. -- 2.34.1