aboutsummaryrefslogtreecommitdiffstats
path: root/nasm.spec.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-04-23 21:19:09 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-04-23 21:19:09 -0700
commit7aae8428103ad65be196a98eb7187e167f3af5ac (patch)
tree18a44ce657986891775315bacc872a50b7361262 /nasm.spec.in
parentb8b77e44524079ef8b365687a5211b0d9e51b359 (diff)
downloadnasm-daily-7aae8428103ad65be196a98eb7187e167f3af5ac.tar.gz
nasm-daily-7aae8428103ad65be196a98eb7187e167f3af5ac.tar.xz
nasm-daily-7aae8428103ad65be196a98eb7187e167f3af5ac.zip
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.in2
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