From cbb42f9dd4cccd859d7dcad865c06b38e3df37b3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 20 Mar 2020 16:15:32 +0100 Subject: The idl __attribute__((__weak__)) hack doesn't seem necessary for --enable-lto dbfc495a9ace0865d764dad7404633a12cda2873 "Add config option used when we try to link one huge object file" had added it for the --enable-lto case, but without documenting exactly what it should help with. And at least my local Linux --enable-lto --enable-dbgutil etc. build successfully does `make check && make screenshot` without it. This removes the only use of STATIC_LINKING, so remove it completely. (And basctl/source/basicide/basidesh.cxx still needs to include config_options.h for ENABLE_MERGELIBS.) Change-Id: I3820e1cacccc92f5ac0c9c7fcc539c29a6864694 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90804 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sc/source/ui/app/typemap.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'sc/source/ui/app') diff --git a/sc/source/ui/app/typemap.cxx b/sc/source/ui/app/typemap.cxx index bf40d09962b7..a6a9e689d865 100644 --- a/sc/source/ui/app/typemap.cxx +++ b/sc/source/ui/app/typemap.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include - #include #include #include -- cgit v1.2.3