[Libreoffice-commits] core.git: configure.ac

Tor Lillqvist tml at collabora.com
Mon Jul 27 08:31:59 PDT 2015


 configure.ac |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

New commits:
commit e83499ad82bee4c2255b47c16f877ec09eff5c35
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Jul 27 18:25:51 2015 +0300

    Mention that --enable-lto is broken for MSVC
    
    I don't have the inspiration to fix it. I get unresolved symbols
    "__declspec(dllimport) public: virtual class com::sun::star::uno::Any __cdecl
    cppu::WeakImplHelper<class com::sun::star::container::XEnumeration>::
    queryInterface(class com::sun::star::uno::Type const &)" etc when linking the
    fwk library in framework.
    
    Also, surely we require GCC to be >= 4.6 now, no need to mention that.
    
    Change-Id: I6502a4acc200f4d94c8c6e0577eee4282375db0d

diff --git a/configure.ac b/configure.ac
index 8d3b906..ed35010 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1091,10 +1091,9 @@ AC_ARG_ENABLE(ooenv,
 AC_ARG_ENABLE(lto,
     AS_HELP_STRING([--enable-lto],
         [Enable link-time optimization. Suitable for (optimised) product builds. Building might take
-         longer but libraries and executables are optimized for speed. (For GCC, best to use GCC 4.6
-         or later and 'gold' linker. Works fine (and is turned on automatically in an optimising
-         build) for MSVC, otherwise experimental work in progress that shouldn't be used unless you
-         are working on it.)]))
+         longer but libraries and executables are optimized for speed. For GCC, best to use the 'gold'
+         linker. For MSVC, this option is broken at the moment. This is experimental work
+         in progress that shouldn't be used unless you are working on it.)]))
 
 AC_ARG_ENABLE(crashdump,
     AS_HELP_STRING([--enable-crashdump],


More information about the Libreoffice-commits mailing list