| 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 | |
| 13 | # ExportSymbols - This is used by tools that need to make sure that all of their |
| 14 | # symbols are exported for use at runtime by dlsym. |
| 15 | # |
| 16 | ExportSymbols := -Wl,--export-dynamic |
| 17 | |
| 18 | |