From d097117121f37545f719e9f32feb78d8e5cfa2de Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Tue, 23 Feb 2010 18:40:48 +0000 Subject: Oops. Pass -lgcc _only_ on ARM, not on everything except ARM. llvm-svn: 96965 --- llvm/tools/llvm-shlib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/llvm-shlib') 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. -- cgit v1.2.3