diff options
| author | Peter Collingbourne <pcc@google.com> | 2020-12-08 14:26:21 -0800 |
|---|---|---|
| committer | Peter Collingbourne <pcc@google.com> | 2020-12-08 14:40:30 -0800 |
| commit | 9397bdd13f8e54855d0cda2a150c1bca98126a86 (patch) | |
| tree | cfb4fd2072d2938f1e3a764c9b5f89956f4bba79 /libc/bionic/heap_zero_init.cpp | |
| parent | 1e32ae2da25876a64f6f69a802c7fa2c290fcc00 (diff) | |
Make our definition of std::nothrow weak.
We can sometimes fail to link a static executable because of
duplicate definitions of std::nothrow in bionic/libc/bionic/new.cpp
and external/libcxx/src/new.cpp. Fix it by making our definition
weak since it doesn't matter which one ends up being chosen.
Change-Id: Iec02ae89f4a3d2ffe298817240f404e54b109a52
Diffstat (limited to 'libc/bionic/heap_zero_init.cpp')
0 files changed, 0 insertions, 0 deletions
