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 /external/curl | |
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 'external/curl')
-rw-r--r-- | external/curl/ExternalProject_curl.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/external/curl/ExternalProject_curl.mk b/external/curl/ExternalProject_curl.mk index 3e63b402253d..6b524f4d5a1a 100644 --- a/external/curl/ExternalProject_curl.mk +++ b/external/curl/ExternalProject_curl.mk @@ -65,7 +65,8 @@ $(call gb_ExternalProject_get_state_target,curl,build): $(if $(filter MACOSX,$(OS)),CFLAGS='$(CFLAGS) \ -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET)') \ CPPFLAGS='$(curl_CPPFLAGS)' \ - LDFLAGS='$(curl_LDFLAGS)' \ + CFLAGS="$(gb_CFLAGS) $(call gb_ExternalProject_get_build_flags,curl)" \ + LDFLAGS='$(call gb_ExternalProject_get_link_flags,curl) $(curl_LDFLAGS)' \ ZLIB_CFLAGS='$(ZLIB_CFLAGS)' ZLIB_LIBS='$(ZLIB_LIBS)' \ && cd lib \ && $(MAKE) \ |