diff options
author | Geoffrey Keating <geoffk@apple.com> | 2005-01-13 22:48:14 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2005-01-13 22:48:14 +0000 |
commit | ae59b55c0f1e5115d102d62c3c89040462d364b3 (patch) | |
tree | 24559ad438bbb0c347089c9089f62a1d2044f259 | |
parent | 516cb88aa978226cd59bd8c80eef032176c70ed3 (diff) | |
download | gcc-ae59b55c0f1e5115d102d62c3c89040462d364b3.zip gcc-ae59b55c0f1e5115d102d62c3c89040462d364b3.tar.gz gcc-ae59b55c0f1e5115d102d62c3c89040462d364b3.tar.bz2 |
configure.host (darwin): On darwin8 or later, no need to build libstdc++ with -flat_namespace.
* configure.host (darwin): On darwin8 or later, no need to build
libstdc++ with -flat_namespace.
From-SVN: r93613
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/configure.host | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9bbec3e..9aa1d6b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2005-01-13 Geoffrey Keating <geoffk@apple.com> + + * configure.host (darwin): On darwin8 or later, no need to build + libstdc++ with -flat_namespace. + 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org> * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES. diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host index 3557459..b3582a4 100644 --- a/libstdc++-v3/configure.host +++ b/libstdc++-v3/configure.host @@ -174,13 +174,19 @@ case "${host_os}" in cygwin*) os_include_dir="os/newlib" ;; - darwin*) + darwin | darwin[1-7] | darwin[1-7].*) # On Darwin, performance is improved if libstdc++ is single-module. - # Up to at least 10.3.5, -flat_namespace is required for proper + # Up to at least 10.3.7, -flat_namespace is required for proper # treatment of coalesced symbols. OPT_LDFLAGS="${OPT_LDFLAGS} -Wl,-single_module -Wl,-flat_namespace" os_include_dir="os/bsd/darwin" ;; + darwin[89] | darwin[89].* | darwin[1-9][0-9]* ) + # On Darwin, performance is improved if libstdc++ is single-module, + # and on 8+ compatibility is better if not -flat_namespace. + OPT_LDFLAGS="${OPT_LDFLAGS} -Wl,-single_module" + os_include_dir="os/bsd/darwin" + ;; *djgpp*) # leading * picks up "msdosdjgpp" os_include_dir="os/djgpp" ;; |