aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nasm.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasm.spec.in b/nasm.spec.in
index 76ea4b33..2fc2a873 100644
--- a/nasm.spec.in
+++ b/nasm.spec.in
@@ -10,7 +10,7 @@ URL: http://nasm.sourceforge.net/
BuildRoot: /tmp/rpm-build-nasm
Prefix: /usr
BuildPrereq: perl
-BuildArchitectures: noarch %{_arch}
+BuildArchitectures: %{_target_cpu} noarch
# This is necessary on newer RPM due to the arch/noarch issue
%define _unpackaged_files_terminate_build 0