aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/openmp.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-04-08 14:57:05 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2025-04-09 09:38:17 +0200
commitfaff25435b0d23b2ac4deef5a9434c8cd098c0d2 (patch)
tree5bbb7e6d42a4767814d8ba74e3fedb9f37b84497 /gcc/fortran/openmp.cc
parent2d7e1d6e40a13a5f160b584336795b80f193ec3b (diff)
downloadgcc-faff25435b0d23b2ac4deef5a9434c8cd098c0d2.zip
gcc-faff25435b0d23b2ac4deef5a9434c8cd098c0d2.tar.gz
gcc-faff25435b0d23b2ac4deef5a9434c8cd098c0d2.tar.bz2
bootstrap/119680 - fix cross-compiler build with --enable-host-shared
It seems that at least when cross-compiling at least collect2 pulls in objects from libbacktrace.a which is linked via LIBDEPS. But libbacktrace for the host is only built -fPIC with --enable-host-shared but not -fPIE with --enable-host-pie so this fails. The following teaches libbacktrace about --enable-host-pie and handles it similar to libcpp. PR bootstrap/119680 libbacktrace/ * configure.ac (--enable-host-pie): Handle by setting PIC_FLAG to -fPIE. * configure: Regenerate.
Diffstat (limited to 'gcc/fortran/openmp.cc')
0 files changed, 0 insertions, 0 deletions