From 374c785daff03f10116781d364f3024aff19d46c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 31 Jul 2024 09:56:21 +0200 Subject: external/libexttextcat: Only pass gb_DEBUGINFO_FLAGS in debug builds broken since 797681b4f569212a0f306151167534e23a2e37af "Pass all relevant CFLAGS on to external/libexttextcat" Change-Id: Idd648c8cd7eaa7e78815dd2071d0a3b786fa6d23 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171273 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- external/libexttextcat/ExternalProject_libexttextcat.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'external/libexttextcat') diff --git a/external/libexttextcat/ExternalProject_libexttextcat.mk b/external/libexttextcat/ExternalProject_libexttextcat.mk index 479bc9bb3b60..37ed06aded7d 100644 --- a/external/libexttextcat/ExternalProject_libexttextcat.mk +++ b/external/libexttextcat/ExternalProject_libexttextcat.mk @@ -20,7 +20,7 @@ $(call gb_ExternalProject_get_state_target,libexttextcat,build): $(if $(verbose),--disable-silent-rules,--enable-silent-rules) \ $(if $(ENABLE_WERROR),--enable-werror,--disable-werror) \ $(gb_CONFIGURE_PLATFORMS) \ - CFLAGS="$(CFLAGS) $(gb_VISIBILITY_FLAGS) $(gb_DEBUGINFO_FLAGS) $(call gb_ExternalProject_get_build_flags,libexttextcat) \ + CFLAGS="$(CFLAGS) $(gb_VISIBILITY_FLAGS) $(if $(debug),$(gb_DEBUGINFO_FLAGS)) $(call gb_ExternalProject_get_build_flags,libexttextcat) \ $(if $(COM_IS_CLANG),-Qunused-arguments)" \ LDFLAGS="$(call gb_ExternalProject_get_link_flags,libexttextcat)" \ && $(MAKE) \ -- cgit