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
This commit is contained in:
Jeffrey Yasskin 2010-02-23 18:40:48 +00:00
parent 3abd8d4e03
commit 5294af000a

View File

@ -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.