aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-03-11 22:11:58 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-03-11 22:11:58 +0000
commitf920068ec22daee3adc8e30b544c73771fcfc1fb (patch)
tree397313fe819707147bec92cee7daffb36d685392
parentSwitch from sys-libs/uclibc to sys-libs/uclibc-ng package. (diff)
downloadcrossdev-f920068ec22daee3adc8e30b544c73771fcfc1fb.tar.gz
crossdev-f920068ec22daee3adc8e30b544c73771fcfc1fb.tar.bz2
crossdev-f920068ec22daee3adc8e30b544c73771fcfc1fb.zip
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@gentoo.org>
-rwxr-xr-xwrappers/emerge-wrapper1
1 files changed, 1 insertions, 0 deletions
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