forked from OSchip/llvm-project
Oops. Pass -lgcc _only_ on ARM, not on everything except ARM.
llvm-svn: 96965
This commit is contained in:
parent
3a53f4e240
commit
d097117121
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue