1 #=-- Makefile.FreeBSD - FreeBSD specific makefile options ---*- makefile -*--==#
3 # This file is included by all other files, through Makefile.common, but only
4 # when compiling on a FreeBSD based platform.
6 #===-----------------------------------------------------------------------====#
8 # Set the architecture so that x86 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 := -shared
16 # PLATFORMLINKOPTS - On FreeBSD, we must specify this linker option so that all
17 # symbols are exported by tools for runtime use by dlsym.
19 PLATFORMLINKOPTS := -Wl,--export-dynamic
21 # PLATFORMSTRIPOPTS - Command to pass to the link phase to cause symbols to be
22 # stripped from the resultant binary.
23 PLATFORMSTRIPOPTS := -Wl,-x
25 # PLATFORMLIBDL - FreeBSD does not have libdl; dlsym() is in libc.
28 # Path to location for LLVM front-end for this architecture. This setting may
29 # be overriden by the Makefile.config option, and should not override it if set.
30 # (Using Linux GCC front-end for now.)
32 LLVMGCCARCH := i686-pc-linux-gnu/3.4-llvm
34 LLVMGCCDIR := /home/vadve/lattner/local/x86/llvm-gcc/
37 # For now we disable running LLC output, because LLC does not generate x86 code
38 # LLC itself can be run so disable the diffs, not LLC itself.
40 DISABLE_LLC_DIFFS := 1
42 # This platform has a JIT compiler! FIXME: This should be changed to be an
43 # option printed by LLI itself at some point.