diff mbox series

[2/2] cmake.bbclass: fix allarch override syntax

Message ID 20230822021426.3203962-2-Qi.Chen@windriver.com
State Accepted, archived
Commit bea74c9942a3bb4f71aca0f722b4a7306ae52fb4
Headers show
Series [1/2] cmake: drop OE specific environment variable support | expand

Commit Message

ChenQi Aug. 22, 2023, 2:14 a.m. UTC
From: Chen Qi <Qi.Chen@windriver.com>

The override syntax should be ":allarch" instead of "_allarch".

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/classes-recipe/cmake.bbclass | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta/classes-recipe/cmake.bbclass b/meta/classes-recipe/cmake.bbclass
index 0dda104a69..ea836d5c0d 100644
--- a/meta/classes-recipe/cmake.bbclass
+++ b/meta/classes-recipe/cmake.bbclass
@@ -51,10 +51,10 @@  OECMAKE_CXX_COMPILER ?= "${@oecmake_map_compiler('CXX', d)[0]}"
 OECMAKE_CXX_COMPILER_LAUNCHER ?= "${@oecmake_map_compiler('CXX', d)[1]}"
 
 # clear compiler vars for allarch to avoid sig hash difference
-OECMAKE_C_COMPILER_allarch = ""
-OECMAKE_C_COMPILER_LAUNCHER_allarch = ""
-OECMAKE_CXX_COMPILER_allarch = ""
-OECMAKE_CXX_COMPILER_LAUNCHER_allarch = ""
+OECMAKE_C_COMPILER:allarch = ""
+OECMAKE_C_COMPILER_LAUNCHER:allarch = ""
+OECMAKE_CXX_COMPILER:allarch = ""
+OECMAKE_CXX_COMPILER_LAUNCHER:allarch = ""
 
 OECMAKE_RPATH ?= ""
 OECMAKE_PERLNATIVE_DIR ??= ""