nasm.spec: LTO breaks debug info, fall back to --enable-sections

--enable-lto seems to completely break RPM debug information, so fall
back on --enable-sections, which at least allows the linker to do
better dead code removal.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin 2017-04-23 21:19:09 -07:00
parent b8b77e4452
commit 7aae842810

View file

@ -46,7 +46,7 @@ include linker, library manager, loader, and information dump.
%build
autoreconf
%configure --disable-pdf-compression --enable-lto
%configure --disable-pdf-compression --enable-sections
make %{?_smp_mflags} everything
xz -9ef doc/nasmdoc.pdf