1 #===-- Makefile.SunOS - SunOS specific makefile options ---*- makefile -*--====#
3 # This file is included by all other files, through Makefile.common, but only
4 # when compiling on a solaris based platform.
6 #===-----------------------------------------------------------------------====#
8 # Set the architecture so that Sparc platform dependant code is compmiled
11 # MakeSharedObjectOption - This option is passed to the linker by
12 # Makefile.common when compiling a shared object.
14 MakeSharedObjectOption := -G
16 # PLATFORMLINKOPTS - On sun we need to link to libmalloc.so to get a definition
18 PLATFORMLINKOPTS := -lmalloc
20 # PLATFORMSTRIPOPTS - Command to pass to the link phase to cause symbols to be
21 # stripped from the resultant binary.
23 # FIXME: I don't know what this is for sun, so leave it alone
27 # Path to location for LLVM front-end for this architecture. This setting may
28 # be overriden by the Makefile.config option, and should not override it if set.
31 LLVMGCCARCH := sparcv9-sun-solaris2.8/3.4-llvm
32 LLVMGCCDIR := /home/vadve/lattner/local/sparc/llvm-gcc/