Chris Lattner | 4bb13b8 | 2002-09-13 22:14:47 +0000 | [diff] [blame] | 1 | #===-- Makefile.Linux - Linux specific makefile options ---*- makefile -*--====# |
| 2 | # |
| 3 | # This file is included by all other files, through Makefile.common, but only |
| 4 | # when compiling on a Linux based platform. |
| 5 | # |
| 6 | #===-----------------------------------------------------------------------====# |
| 7 | |
| 8 | # MakeSharedObjectOption - This option is passed to the linker by |
| 9 | # Makefile.common when compiling a shared object. |
| 10 | # |
| 11 | MakeSharedObjectOption := -shared |
| 12 | |
Chris Lattner | 1c58850 | 2002-11-04 20:50:33 +0000 | [diff] [blame] | 13 | # PLATFORMLINKOPTS - On Linux, we must specify this linker option so that all |
| 14 | # symbols are exported by tools for runtime use by dlsym. |
Chris Lattner | 4bb13b8 | 2002-09-13 22:14:47 +0000 | [diff] [blame] | 15 | # |
Chris Lattner | 1c58850 | 2002-11-04 20:50:33 +0000 | [diff] [blame] | 16 | PLATFORMLINKOPTS := -Wl,--export-dynamic |
Chris Lattner | 4bb13b8 | 2002-09-13 22:14:47 +0000 | [diff] [blame] | 17 | |
Chris Lattner | 7f666ca | 2002-09-19 19:44:28 +0000 | [diff] [blame] | 18 | # Path to location for LLVM front-end for this architecture. This setting may |
| 19 | # be overriden by the Makefile.config option, and should not override it if set. |
| 20 | # |
| 21 | ifndef LLVMGCCDIR |
| 22 | LLVMGCCDIR := /home/vadve/lattner/cvs/gcc_install_x86 |
| 23 | endif |
Chris Lattner | 698a131 | 2002-09-19 21:32:44 +0000 | [diff] [blame] | 24 | |
Vikram S. Adve | 11fd1d3 | 2002-09-23 14:24:19 +0000 | [diff] [blame] | 25 | # For now we disable running LLC output, because LLC does not generate x86 code |
| 26 | # LLC itself can be run so disable the diffs, not LLC itself. |
| 27 | # |
| 28 | DISABLE_LLC_DIFFS := 1 |