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
This commit is contained in:
Torvald Riegel 2016-01-20 17:47:03 +00:00 committed by Torvald Riegel
parent 3f93466af4
commit 7e10bcfa3c
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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