diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-07-28 08:12:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-07-28 09:05:52 +0200 |
commit | d668c9a04d04d256fcbbd2165fe226f1db88256b (patch) | |
tree | c78400ef596fcabd74896b79572fa5c08e442f04 /solenv | |
parent | 27798238ecb200e0753b013c79df0e6c014c7a7a (diff) |
Adapt --enable-ld to Clang 12 trunk --ld-path
...split from -fuse-ld with <https://github.com/llvm/llvm-project/commit/
1bc5c84710a8c73ef21295e63c19d10a8c71f2f5> "[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
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/com_GCC_defs.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index 1707a7481ee6..11d85608a22d 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -38,7 +38,7 @@ endif gb_COMPILER_SETUP := ifneq ($(USE_LD),) -gb_LinkTarget_LDFLAGS += -fuse-ld=$(USE_LD) +gb_LinkTarget_LDFLAGS += $(USE_LD) endif ifeq ($(strip $(gb_COMPILEROPTFLAGS)),) |