Open sanmai-NL opened 6 years ago
Neither LibreOffice nor libexttextcat enable _FORTIFY_SOURCE and --enable-dbgutil doesn't turn off optimization (--enable-debug does). So the flags must have come from outside.
Quick solution is to pass --disable-werror to the configure of libexttextcat...
@dtardon:
--enable-dbgutil doesn't turn off optimization (--enable-debug does)
This information is misleading then.
_FORTIFY_SOURCE
is enabled by default on Arch Linux.
The --enable-debug
flag was not passed in my case.
@scarabeusiv: Thanks, I went with --with-system-libexttextcat
.
Both --enable-debug and --enable-dbgutil disable optimizations by default (and there's --enable-optimized to override that).
When compiling LibreOffice today:
Leads to:
Because of
--enable-dbgutil
.The fix would be to only compile with
_FORTIFY_SOURCE
when optimization is enabled.