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:
parent
b8b77e4452
commit
7aae842810
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue