[nasm:nasm-2.16.xx] spec: update embedded RPM spec file

nasm-bot for H. Peter Anvin hpa at zytor.com
Tue Apr 16 16:44:05 PDT 2024


Commit-ID:  f932b338e3962af13644b758b535226eed0e0735
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=f932b338e3962af13644b758b535226eed0e0735
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Tue, 16 Apr 2024 16:32:35 -0700
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Tue, 16 Apr 2024 16:35:22 -0700

spec: update embedded RPM spec file

The embedded RPM spec file seems to be a bit out of date. Update to
match the current RPM conventions.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 nasm.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nasm.spec.in b/nasm.spec.in
index aab55a98..2af48baf 100644
--- a/nasm.spec.in
+++ b/nasm.spec.in
@@ -40,7 +40,7 @@ PDF formats.
 
 %build
 sh autogen.sh
-%configure --enable-sections
+%configure --enable-gc $([ -z "%{_lto_cflags}" ] || echo --enable-lto)
 make %{?_smp_mflags} everything
 
 %install


More information about the Nasm-commits mailing list