diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-01-17 15:49:02 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-01-17 17:03:46 +0000 |
commit | 0ba6a850b597236832140bf57bf6083b6fab93f9 (patch) | |
tree | 5f6a89250fe3f2047c80343a21ee9091b5778049 /libgomp | |
parent | 2c2e9f7a5d4b5db97f268ae247b3a82b1610a543 (diff) | |
download | gcc-0ba6a850b597236832140bf57bf6083b6fab93f9.zip gcc-0ba6a850b597236832140bf57bf6083b6fab93f9.tar.gz gcc-0ba6a850b597236832140bf57bf6083b6fab93f9.tar.bz2 |
libstdc++: Fix freestanding build PR 92376)
In a freestanding library we don't install the <pstl/pstl_config.h>
header, so don't try to include it unless it exists.
Explicitly declare aligned alloc functions for freestanding, because
<cstdlib> doesn't declare them.
PR libstdc++/92376
* include/bits/c++config: Only do PSTL config when the header is
present, to fix freestanding.
* libsupc++/new_opa.cc [!_GLIBCXX_HOSTED]: Declare allocation
functions if they were detected by configure.
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions