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::uno::Any __cdecl
cppu::WeakImplHelper<class com::sun::container::XEnumeration>::
queryInterface(class com::sun::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
This commit is contained in:
Tor Lillqvist
2015-07-27 18:25:51 +03:00
parent bd50d025fe
commit e83499ad82

View File

@@ -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],