llvm-project/llvm/projects/sample/autoconf/m4
Bob Wilson 8658b9147d Link with -rdynamic instead of -Wl,-export-dynamic.
Recent versions of the OS X linker support this but follow the existing
OS X linker convention of using an underscore in the option name, i.e.,
-export_dynamic. Rather than changing our configure scripts to check for
that alternate spelling, it is simpler to just use the compiler's -rdynamic
option and let it deal with translating that to the appropriate linker
option. One potential disadvantage of this approach is that the compiler
will typically ignore -rdynamic on platforms where it is not supported, so
the HAVE_LINK_EXPORT_DYNAMIC in config.h will not necessarily show whether
that option has any effect or not. I don't see any in-tree uses of that
macro, so I'm assuming it is OK.

llvm-svn: 187686
2013-08-02 22:51:06 +00:00
..
build_exeext.m4
c_printf_a.m4
check_gnu_make.m4
config_makefile.m4 Update all outdated autoconf files in the sample project. 2012-05-05 15:02:39 +00:00
config_project.m4
cxx_flag_check.m4 Enable -Wcovered-switch-default again, but add -Werror to the checks to make 2012-02-28 23:32:06 +00:00
find_std_program.m4
func_isinf.m4 Fix a typo (the the => the) 2012-07-23 08:51:15 +00:00
func_isnan.m4
func_mmap_file.m4
header_mmap_anonymous.m4
huge_val.m4 Fix a typo (the the => the) 2012-07-23 08:51:15 +00:00
libtool.m4 [PowerPC] Support powerpc64le as a syntax-checking target. 2013-07-26 01:35:43 +00:00
link_options.m4 Link with -rdynamic instead of -Wl,-export-dynamic. 2013-08-02 22:51:06 +00:00
linux_mixed_64_32.m4
ltdl.m4 Don't define LTDL_SHLIBPATH_VAR. 2013-06-11 19:04:13 +00:00
need_dev_zero_for_mmap.m4
path_tclsh.m4
rand48.m4 Fix a typo (the the => the) 2012-07-23 08:51:15 +00:00
sanity_check.m4
single_cxx_check.m4
visibility_inlines_hidden.m4 Update all outdated autoconf files in the sample project. 2012-05-05 15:02:39 +00:00