diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-04-29 15:50:22 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-05-01 05:47:22 +0200 |
commit | 1ffd6897ddf15624e70585ab08e8af713114c938 (patch) | |
tree | 8ccc6deb8d62d3c19ae2d90c70fb7bef7d0f57b1 /solenv | |
parent | 339fbb7bc30f227b9d4c9b9eea03b25f49533dee (diff) |
try to use also proper debug LDFLAGS for externals libraries
This is basically ea68de2968c0dbcd8e7549435e829db06795c16d but
for LDFLAGS. A number of external libs cannot use this because
their libtool mishandles -fuse-ld.
Change-Id: Idee379eb0a3afb475b536519ee3de064b4e218f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133639
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/ExternalProject.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/gbuild/ExternalProject.mk b/solenv/gbuild/ExternalProject.mk index 77a8c85dbf1f..68910712ff6d 100644 --- a/solenv/gbuild/ExternalProject.mk +++ b/solenv/gbuild/ExternalProject.mk @@ -210,6 +210,10 @@ endef # gb_ExternalProject_get_build_flags project gb_ExternalProject_get_build_flags = $(call gb_LinkTarget__get_debugflags,ExternalProject_$(1)) +# Returns flags to include in LDFLAGS to enable optimizations and/or debugging. +# gb_ExternalProject_get_link_flags project +gb_ExternalProject_get_link_flags = $(USE_LD) $(call gb_LinkTarget__get_debugldflags,ExternalProject_$(1)) + # Run a target command # # This provides a wrapper that changes to the right directory, |