فهرست منبع

For now, have locale support automaticly enable wide char support.
Things currently won't build otherwise.

Manuel Novoa III 23 سال پیش
والد
کامیت
fd8af65fd2
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      Rules.mak

+ 4 - 0
Rules.mak

@@ -124,6 +124,10 @@ endif
 ifeq ($(strip $(INCLUDE_THREADS)),true)
     CFLAGS  += -D_LIBC_REENTRANT
 endif
+# Currently locale support requires wide char support.
+ifeq ($(strip $(HAS_LOCALE)),true)
+    HAS_WCHAR:=true
+endif
 
 # TARGET_PREFIX is the directory under which which the uClibc runtime
 # environment will be installed and used on the target system.   The