Adapt --enable-ld to Clang 12 trunk --ld-path

Desktop / LibreOffice - Stephan Bergmann [redhat.com] - 28 July 2020 07:05 UTC

...split from -fuse-ld with "[Driver] Add --ld-path= and deprecate-fuse-ld=/abs/path and -fuse-ld=rel/path", and now causing warnings (or even errors with -Werror) like

'-fuse-ld=' taking a path is deprecated. Use '--ld-path=' instead

when --enable-ld is configured as a full path. (--enable-ld was vague whether it supports full paths, but it appeared to work reasonably well at least with old versions of Clang.)

Change-Id: I5a7dfd992b56aba78dd3646045fb9a827dc40321 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99569

d668c9a04d04 Adapt --enable-ld to Clang 12 trunk --ld-path
configure.ac | 15 +++++++++++----
external/liborcus/ExternalProject_liborcus.mk | 2 +-
external/liborcus/libtool.patch.0 | 2 +-
external/libwps/ExternalProject_libwps.mk | 2 +-
external/libwps/libtool.patch.0 | 2 +-
solenv/gbuild/platform/com_GCC_defs.mk | 2 +-
6 files changed, 16 insertions(+), 9 deletions(-)

Upstream: cgit.freedesktop.org


  • Share