summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-07-03 18:04:54 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-07-03 18:04:54 +0000
commitfd8af65fd21e8940cff67109bc647afea31b519f (patch)
tree35be6dc229c4d13a6188e2084b762f44d3d9fa8e
parentcd8e741d32cacdad033cfaea8990a1429a2f78df (diff)
For now, have locale support automaticly enable wide char support.
Things currently won't build otherwise.
-rw-r--r--Rules.mak4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index cc9352385..a9e25bd82 100644
--- a/Rules.mak
+++ b/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