Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

build: 提交

build


Commit MetaInfo

修订版9f80444cb2614c8cee21721c8d4fa9f8ebe75263 (tree)
时间2018-12-07 12:34:00
作者Chih-Wei Huang <cwhuang@open...>
Commiterserver180

Log Message

kernel.mk: set LC_CTYPE to C locale

The simple workaround avoids AOSP's prebuilt flex crashing like

flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)

更改概述

差异

--- a/core/tasks/kernel.mk
+++ b/core/tasks/kernel.mk
@@ -8,6 +8,8 @@
88 # http://www.apache.org/licenses/LICENSE-2.0
99 #
1010
11+export LC_CTYPE := C
12+
1113 ifeq ($(KBUILD_OUTPUT),)
1214 ifeq ($(TARGET_PREBUILT_KERNEL),)
1315
Show on old repository browser