From 2d306f2d2749e0a4fe8210bce03e68399f13382d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sun, 24 Mar 2024 08:50:27 +0200 Subject: macros: make _host_cpu identical with _target_cpu ATM rpm uses real build host's arch and it can be different what we really want (armv8l vs. armv7hl) --- NEWS | 3 +++ macros.in | 1 + 2 files changed, 4 insertions(+) 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} -- cgit v1.2.1