]> git.lizzy.rs Git - rust.git/commitdiff
Set the USE_UTF8 flag for linenoise to handle utf8-input
authorAlex Crichton <alex@alexcrichton.com>
Fri, 24 May 2013 01:47:22 +0000 (20:47 -0500)
committerAlex Crichton <alex@alexcrichton.com>
Sat, 25 May 2013 03:32:55 +0000 (22:32 -0500)
mk/platform.mk

index ba1cbc32f54659a05f881967e52f0e57668521a4..471ad667a2a13e90df3fa5bb5f924373079f13ef 100644 (file)
@@ -29,7 +29,7 @@ $(foreach t,$(CFG_TARGET_TRIPLES),$(info cfg: os for $(t) is $(OSTYPE_$(t))))
 # FIXME: no-omit-frame-pointer is just so that task_start_wrapper
 # has a frame pointer and the stack walker can understand it. Turning off
 # frame pointers everywhere is overkill
-CFG_GCCISH_CFLAGS += -fno-omit-frame-pointer
+CFG_GCCISH_CFLAGS += -fno-omit-frame-pointer -DUSE_UTF8
 
 # On Darwin, we need to run dsymutil so the debugging information ends
 # up in the right place.  On other platforms, it automatically gets