summaryrefslogtreecommitdiff
path: root/external/icu
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-04-29 15:50:22 +0200
committerLuboš Luňák <l.lunak@collabora.com>2022-05-01 05:47:22 +0200
commit1ffd6897ddf15624e70585ab08e8af713114c938 (patch)
tree8ccc6deb8d62d3c19ae2d90c70fb7bef7d0f57b1 /external/icu
parent339fbb7bc30f227b9d4c9b9eea03b25f49533dee (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/icu')
-rw-r--r--external/icu/ExternalProject_icu.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/icu/ExternalProject_icu.mk b/external/icu/ExternalProject_icu.mk
index aa1ef439b315..d677016f9677 100644
--- a/external/icu/ExternalProject_icu.mk
+++ b/external/icu/ExternalProject_icu.mk
@@ -54,6 +54,7 @@ icu_CXXFLAGS:="$(CXXFLAGS) $(CXXFLAGS_CXX11) \
$(if $(filter ANDROID,$(OS)),-fvisibility=hidden -fno-omit-frame-pointer -I$(SRCDIR)/include)"
icu_LDFLAGS:=" \
$(if $(ENABLE_LTO),$(gb_LTOFLAGS)) \
+ $(call gb_ExternalProject_get_link_flags,icu) \
$(if $(filter TRUE,$(HAVE_LD_HASH_STYLE)),-Wl$(COMMA)--hash-style=$(WITH_LINKER_HASH_STYLE)) \
$(if $(SYSBASE),-L../lib -L../../lib -L../stubdata -L../../stubdata -L$(SYSBASE)/usr/lib) \
$(if $(filter TRUE,$(HAVE_LD_BSYMBOLIC_FUNCTIONS)), -Wl$(COMMA)-Bsymbolic-functions) \