llvm-mirror/Makefile.Linux
Chris Lattner 64ea4a3bd2 Factor platform specific makefile directives out into their own makefile
fragments.  This is gross, but having tons of confusing conditionals all
throughout the build system seems worst.

Credits got to Casey Carter for the idea.

llvm-svn: 3705
2002-09-13 22:14:47 +00:00

19 lines
617 B
Makefile

#===-- Makefile.Linux - Linux specific makefile options ---*- makefile -*--====#
#
# This file is included by all other files, through Makefile.common, but only
# when compiling on a Linux based platform.
#
#===-----------------------------------------------------------------------====#
# MakeSharedObjectOption - This option is passed to the linker by
# Makefile.common when compiling a shared object.
#
MakeSharedObjectOption := -shared
# ExportSymbols - This is used by tools that need to make sure that all of their
# symbols are exported for use at runtime by dlsym.
#
ExportSymbols := -Wl,--export-dynamic