diff options
author | H. Peter Anvin <hpa@zytor.com> | 2017-04-23 21:19:09 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2017-04-23 21:19:09 -0700 |
commit | 7aae8428103ad65be196a98eb7187e167f3af5ac (patch) | |
tree | 18a44ce657986891775315bacc872a50b7361262 /nasm.spec.in | |
parent | b8b77e44524079ef8b365687a5211b0d9e51b359 (diff) | |
download | nasm-7aae8428103ad65be196a98eb7187e167f3af5ac.tar.gz |
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>
Diffstat (limited to 'nasm.spec.in')
-rw-r--r-- | nasm.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nasm.spec.in b/nasm.spec.in index 2f724f91..d6102846 100644 --- a/nasm.spec.in +++ b/nasm.spec.in @@ -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 |