From c2216d2d7a5bb0a82f79181fbc46708d35858afe Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 24 Jan 2019 08:32:40 +0100 Subject: Drop unnecessary gb_DEBUG_CFLAGS ...which was at maximum set to GCC's -finline-limit=0 -fno-inline (solenv/gbuild/platform/com_GCC_defs.mk). Those options were set for debug builds "since forever", but that looks very much like cargo cult: -fno-inline "is the default when not optimizing" anyway (), and it is unclear to me how -finline-limit=0 should have any impact beyond -fno-inline (and maybe was present for ancient compilers that only supported -finline-limit but not -fno-inline?). Change-Id: Id6752d03b1b7ec8763defabc5720d4dd08790874 Reviewed-on: https://gerrit.libreoffice.org/66836 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- ios/CustomTarget_iOS_link.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ios') diff --git a/ios/CustomTarget_iOS_link.mk b/ios/CustomTarget_iOS_link.mk index 8bcf6f550826..fc4d88ee8f0f 100644 --- a/ios/CustomTarget_iOS_link.mk +++ b/ios/CustomTarget_iOS_link.mk @@ -42,7 +42,7 @@ $(IOSOBJ): $(IOSSRC) $(call gb_CustomTarget_get_target,ios/iOS_setup) $(gb_CC) $(gb_COMPILERDEFS) $(gb_OSDEFS) $(gb_CFLAGS) \ -DDISABLE_DYNLOADING -DLIBO_INTERNAL_ONLY \ -fvisibility=hidden -Werror -O0 -fstrict-overflow \ - $(if $(ENABLE_DEBUG),$(gb_DEBUG_CFLAGS) -g) \ + $(if $(ENABLE_DEBUG),-g) \ -c $(IOSSRC) -o $(IOSOBJ) \ -I$(SRCDIR)/include -I$(BUILDDIR)/config_host \ -- cgit