]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Build libstdc++_libbacktrace.a as PIC [PR111936]
authorJonathan Wakely <jwakely@redhat.com>
Tue, 24 Oct 2023 15:56:30 +0000 (16:56 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 25 Oct 2023 10:32:28 +0000 (11:32 +0100)
commit13ad7b1603f31b65e181780a29ada3f9a331bf8f
treee7d195ea4de5eaff15533341c69137f9443198d9
parentc79e015fff919e01504537bddf26baef1e2bd803
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.

(cherry picked from commit f32c1e1e96ffef6512ce025942b51f3967a3e7f2)
libstdc++-v3/src/libbacktrace/Makefile.am
libstdc++-v3/src/libbacktrace/Makefile.in
This page took 0.061747 seconds and 6 git commands to generate.