commit:     f920068ec22daee3adc8e30b544c73771fcfc1fb
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 22:11:58 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 22:11:58 2019 +0000
URL:        https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=f920068e

emerge-wrapper: declare KERNEL=Winnt for *mingw* targets, bug #594576

Reported-by: Fabio Rossi
Bug: https://bugs.gentoo.org/594576
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 wrappers/emerge-wrapper | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wrappers/emerge-wrapper b/wrappers/emerge-wrapper
index d554eba..325d988 100755
--- a/wrappers/emerge-wrapper
+++ b/wrappers/emerge-wrapper
@@ -65,6 +65,7 @@ cross_wrap_etc()
        KERNEL="__KERNEL__"
        case ${CHOST} in
        *linux*)  KERNEL=linux ;;
+       *mingw*)  KERNEL=Winnt ;;
        *)        emit_setup_warning "No KERNEL is known for this target." ;;
        esac
        if [[ -n ${KERNEL} ]]; then

Reply via email to