summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-01-24 08:32:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-01-24 11:25:03 +0100
commitc2216d2d7a5bb0a82f79181fbc46708d35858afe (patch)
treed5391df6f89e4e3c24a49d31a834c38ce1354699 /ios
parentdc3936f598e828294311ceee738b4d8d3d46cf9e (diff)
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 (<https://gcc.gnu.org/onlinedocs/gcc-7.4.0/gcc/Optimize-Options.html>), 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 <sbergman@redhat.com>
Diffstat (limited to 'ios')
-rw-r--r--ios/CustomTarget_iOS_link.mk2
1 files changed, 1 insertions, 1 deletions
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 \