Oops. Pass -lgcc _only_ on ARM, not on everything except ARM.

llvm-svn: 96965
This commit is contained in:
Jeffrey Yasskin 2010-02-23 18:40:48 +00:00
parent 3a53f4e240
commit d097117121
1 changed files with 1 additions and 1 deletions

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.