OSDN Git Service

kernel.mk: set LC_CTYPE and LC_MESSAGES to C locale nougat-x86 android-x86-7.1-r5
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 12 Feb 2021 17:51:05 +0000 (01:51 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 12 Feb 2021 17:51:05 +0000 (01:51 +0800)
To avoid AOSP's prebuilt flex crashing.

core/tasks/kernel.mk

index 423ef08..c1b51de 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2014-2016 The Android-x86 Open Source Project
+# Copyright (C) 2014-2021 The Android-x86 Open Source Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -8,6 +8,9 @@
 #      http://www.apache.org/licenses/LICENSE-2.0
 #
 
+export LC_CTYPE := C
+export LC_MESSAGES := C
+
 ifneq ($(TARGET_NO_KERNEL),true)
 ifeq ($(TARGET_PREBUILT_KERNEL),)