diff options
author | Torvald Riegel <triegel@redhat.com> | 2016-01-20 17:47:03 +0000 |
---|---|---|
committer | Torvald Riegel <torvald@gcc.gnu.org> | 2016-01-20 17:47:03 +0000 |
commit | 7e10bcfa3c30f11136b60b5f6d25acb17afdd57f (patch) | |
tree | 648a0c62ea498773610394895ca9ab6b48c2d2d1 /libstdc++-v3 | |
parent | 3f93466af47bdb6e88d24fcda7a3c76be3d173e4 (diff) | |
download | gcc-7e10bcfa3c30f11136b60b5f6d25acb17afdd57f.zip gcc-7e10bcfa3c30f11136b60b5f6d25acb17afdd57f.tar.gz gcc-7e10bcfa3c30f11136b60b5f6d25acb17afdd57f.tar.bz2 |
libstdc++: Darwin does not support weak refs without definition.
PR libstdc++/69310
* config/os/bsd/darwin/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
From-SVN: r232628
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/config/os/bsd/darwin/os_defines.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 577490b..72ee6ed 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2016-01-20 Torvald Riegel <triegel@redhat.com> + + PR libstdc++/69310 + * config/os/bsd/darwin/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. + 2016-01-20 Jonathan Wakely <jwakely@redhat.com> PR libstdc++/60401 diff --git a/libstdc++-v3/config/os/bsd/darwin/os_defines.h b/libstdc++-v3/config/os/bsd/darwin/os_defines.h index 7e2ed67..36b660b 100644 --- a/libstdc++-v3/config/os/bsd/darwin/os_defines.h +++ b/libstdc++-v3/config/os/bsd/darwin/os_defines.h @@ -47,4 +47,7 @@ #define _GLIBCXX_USE_NANOSLEEP 1 #define _GLIBCXX_USE_SCHED_YIELD 1 +// No support for referencing weak symbols without a definition. +#define _GLIBCXX_USE_WEAK_REF 0 + #endif |