commit:     24f82a887ea97c9921a862c3770da11a8d0f734e
Author:     xtkoba <69125751+xtkoba <AT> users <DOT> noreply <DOT> github <DOT> 
com>
AuthorDate: Fri Aug 11 04:24:16 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep  6 09:44:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f82a88

profiles: restore KERNEL=Winnt for embedded targets

which is needed to cross-merge packages using CMake for MinGW.

cmake.eclass assumes kernel_Winnt is available at
https://github.com/gentoo/gentoo/blob/729bfdc91020c5c37ca1d0217135bd8b23df660a/eclass/cmake.eclass#L478-L496.

Closes: https://bugs.gentoo.org/910605
Signed-off-by: Tee KOBAYASHI <xtkoba <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32252
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/embedded/make.defaults | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/profiles/embedded/make.defaults b/profiles/embedded/make.defaults
index e3d7f8df25cb..62ad2b513982 100644
--- a/profiles/embedded/make.defaults
+++ b/profiles/embedded/make.defaults
@@ -24,7 +24,8 @@ USE_EXPAND_UNPREFIXED="ARCH"
 USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL"
 USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-linux arm arm64 hppa ia64 loong m68k 
mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc x64-macos x64-solaris x86 
x86-linux"
 USE_EXPAND_VALUES_ELIBC="bionic Darwin glibc mingw musl SunOS"
-USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS"
+# Note that we keep Winnt here for cross, especially for cmake.eclass (bug 
#910605)
+USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS Winnt"
 
 # Env vars to expand into USE vars.  Modifying this requires prior
 # discussion on [email protected].

Reply via email to