diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-10-24 16:56:30 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-10-25 11:08:57 +0100 |
commit | f32c1e1e96ffef6512ce025942b51f3967a3e7f2 (patch) | |
tree | 00aefb6b89d6392589292b910bc1ea531e89ffa6 /gcc | |
parent | 8bb655d0c56502798d664ab0c1685bbab4aaa454 (diff) | |
download | gcc-f32c1e1e96ffef6512ce025942b51f3967a3e7f2.zip gcc-f32c1e1e96ffef6512ce025942b51f3967a3e7f2.tar.gz gcc-f32c1e1e96ffef6512ce025942b51f3967a3e7f2.tar.bz2 |
libstdc++: Build libstdc++_libbacktrace.a as PIC [PR111936]
In order for std::stacktrace to be used in a shared library, the
libbacktrace symbols need to be built with -fPIC. Add the libtool
-prefer-pic flag to the commands in src/libbacktrace/Makefile so that
the archive contains PIC objects.
libstdc++-v3/ChangeLog:
PR libstdc++/111936
* src/libbacktrace/Makefile.am: Add -prefer-pic to libtool
compile commands.
* src/libbacktrace/Makefile.in: Regenerate.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions