[llvm-commits] [llvm] r96965 - /llvm/trunk/tools/llvm-shlib/Makefile

Jeffrey Yasskin jyasskin at google.com
Tue Feb 23 10:40:48 PST 2010


Author: jyasskin
Date: Tue Feb 23 12:40:48 2010
New Revision: 96965

URL: http://llvm.org/viewvc/llvm-project?rev=96965&view=rev
Log:
Oops.  Pass -lgcc _only_ on ARM, not on everything except ARM.

Modified:
    llvm/trunk/tools/llvm-shlib/Makefile

Modified: llvm/trunk/tools/llvm-shlib/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-shlib/Makefile?rev=96965&r1=96964&r2=96965&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-shlib/Makefile (original)
+++ llvm/trunk/tools/llvm-shlib/Makefile Tue Feb 23 12:40:48 2010
@@ -58,7 +58,7 @@
     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.





More information about the llvm-commits mailing list