* Fix several register aliasing bugs
[oota-llvm.git] / Makefile.SunOS
index 5cfcacf40358c7d1a3a5f2024d8ebc793a7d1a80..e9473637c7e699c5b32f21ca067d2ed2f7fb584f 100644 (file)
@@ -5,6 +5,9 @@
 #
 #===-----------------------------------------------------------------------====#
 
+# Set the architecture so that Sparc platform dependant code is compmiled
+ARCH := Sparc
+
 # MakeSharedObjectOption - This option is passed to the linker by
 # Makefile.common when compiling a shared object.
 #
@@ -12,7 +15,7 @@ MakeSharedObjectOption := -G
 
 # PLATFORMLINKOPTS - On sun we need to link to libmalloc.so to get a definition
 # of mallinfo.
-ExportSymbols := -lmalloc
+PLATFORMLINKOPTS := -lmalloc
 
 # Path to location for LLVM front-end for this architecture.  This setting may
 # be overriden by the Makefile.config option, and should not override it if set.