Don't force visibility to hidden for Darwin > 8.
PR libstdc++/70694 * configure.host (OPT_LDFLAGS): Don't append -fvisibility-inlines-hidden for newer Darwin. From-SVN: r263850
This commit is contained in:
parent
19b0eb255c
commit
ee959ecbde
2 changed files with 16 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2018-08-25 Iain Sandoe <iain@sandoe.co.uk>
|
||||||
|
|
||||||
|
PR libstdc++/70694
|
||||||
|
* configure.host (OPT_LDFLAGS): Don't append
|
||||||
|
-fvisibility-inlines-hidden for newer Darwin.
|
||||||
|
|
||||||
2018-08-24 Marc Glisse <marc.glisse@inria.fr>
|
2018-08-24 Marc Glisse <marc.glisse@inria.fr>
|
||||||
|
|
||||||
PR libstdc++/86822
|
PR libstdc++/86822
|
||||||
|
|
|
@ -230,16 +230,15 @@ case "${host_os}" in
|
||||||
os_include_dir="os/newlib"
|
os_include_dir="os/newlib"
|
||||||
OPT_LDFLAGS="${OPT_LDFLAGS} \$(lt_host_flags)"
|
OPT_LDFLAGS="${OPT_LDFLAGS} \$(lt_host_flags)"
|
||||||
;;
|
;;
|
||||||
darwin | darwin[1-7] | darwin[1-7].*)
|
darwin[4-7] | darwin[4-7].*)
|
||||||
# On Darwin, performance is improved if libstdc++ is single-module.
|
# For earlier Darwin, performance is improved if libstdc++ is
|
||||||
# Up to at least 10.3.7, -flat_namespace is required for proper
|
# single-module. Up to at least 10.3.7, -flat_namespace is required
|
||||||
# treatment of coalesced symbols.
|
# for proper treatment of coalesced symbols.
|
||||||
OPT_LDFLAGS="${OPT_LDFLAGS} -Wl,-single_module -Wl,-flat_namespace"
|
OPT_LDFLAGS="${OPT_LDFLAGS} -Wl,-single_module -Wl,-flat_namespace"
|
||||||
os_include_dir="os/bsd/darwin"
|
os_include_dir="os/bsd/darwin"
|
||||||
;;
|
;;
|
||||||
darwin[89] | darwin[89].* | darwin[1-9][0-9]* )
|
darwin8 | darwin8.* )
|
||||||
# On Darwin, performance is improved if libstdc++ is single-module,
|
# For 8+ compatibility is better if not -flat_namespace.
|
||||||
# and on 8+ compatibility is better if not -flat_namespace.
|
|
||||||
OPT_LDFLAGS="${OPT_LDFLAGS} -Wl,-single_module"
|
OPT_LDFLAGS="${OPT_LDFLAGS} -Wl,-single_module"
|
||||||
case "${host_cpu}" in
|
case "${host_cpu}" in
|
||||||
i[34567]86 | x86_64)
|
i[34567]86 | x86_64)
|
||||||
|
@ -248,6 +247,10 @@ case "${host_os}" in
|
||||||
esac
|
esac
|
||||||
os_include_dir="os/bsd/darwin"
|
os_include_dir="os/bsd/darwin"
|
||||||
;;
|
;;
|
||||||
|
darwin*)
|
||||||
|
# Post Darwin8, defaults should be sufficient.
|
||||||
|
os_include_dir="os/bsd/darwin"
|
||||||
|
;;
|
||||||
*djgpp*) # leading * picks up "msdosdjgpp"
|
*djgpp*) # leading * picks up "msdosdjgpp"
|
||||||
os_include_dir="os/djgpp"
|
os_include_dir="os/djgpp"
|
||||||
error_constants_dir="os/djgpp"
|
error_constants_dir="os/djgpp"
|
||||||
|
|
Loading…
Add table
Reference in a new issue