diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2021-03-28 15:39:33 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-08-27 16:50:19 +0100 |
commit | 9b025925eceaf207e3d0104cddace753ac6dabd5 (patch) | |
tree | 229425bf8564f2898e489f8112f91d8e473ea29d /gcc/dwarf2ctf.h | |
parent | e42ea63bcc12e819c3e1066974a691988e86b724 (diff) | |
download | gcc-9b025925eceaf207e3d0104cddace753ac6dabd5.zip gcc-9b025925eceaf207e3d0104cddace753ac6dabd5.tar.gz gcc-9b025925eceaf207e3d0104cddace753ac6dabd5.tar.bz2 |
libgfortran: Use the libtool macro to determine libm availability.
We recently had a report of build failure against a Darwin branch on
the latest OS release. This was because (temporarily) the symlink
from libm.dylib => libSystem.dylib had been removed/omitted.
libm is not needed on Darwin, and should not be added unconditionally
even if that is (mostly) harmless since it is a symlink to libc.
There could be cases where the addition was not completely harmless
because the presentation of the symlink would cause the symbols exposed
in libSystem to be considered ahead of ones presented in convenience
libraries.
libgfortran/ChangeLog:
* Makefile.am: Use configured libm availability.
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.ac: Use libtool macro to find libm availability.
* libgfortran.spec.in: Use configured libm availability.
Diffstat (limited to 'gcc/dwarf2ctf.h')
0 files changed, 0 insertions, 0 deletions