aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--macros.in1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e5e977b..93e36bd 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- macros: make _host_cpu identical with _target_cpu as ATM rpm uses real build
+ host's arch and it can be different what we really want (armv8l vs. armv7hl)
+
Version 2.75 - 23 March 2024, by Jani Välimaa
- Makefile: fix brp-mangle-shebangs install
- rpmrc: use -mtune=generic-armv7-a with armv7hl
diff --git a/macros.in b/macros.in
index 91f6e08..bea66b9 100644
--- a/macros.in
+++ b/macros.in
@@ -16,6 +16,7 @@
%_gnu @CANONTARGETGNU@
%_target_platform %{_target_cpu}-%{_real_vendor}-%{_target_os}%{?_gnu}
+%_host_cpu @CANONTARGETCPU@
%_host %{_host_cpu}-%{_real_vendor}-%{_host_os}%{?_gnu}