From: Jeffrey Yasskin Date: Tue, 23 Feb 2010 18:40:48 +0000 (+0000) Subject: Oops. Pass -lgcc _only_ on ARM, not on everything except ARM. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5294af000ab8b868630f5905be19d7f4dbe58b70;p=oota-llvm.git 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 --- 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.