projects/aports·blob master · refs

13 lines · 477 B

1--- a/Makefile.cmdline
2+++ b/Makefile.cmdline
3@@ -32,8 +32,8 @@
4
5 # If you want linenoise, you can enable these. At the moment linenoise
6 # will cause some harmless compilation warnings.
7-#CCOPTS += -DDUK_CMDLINE_FANCY -I./linenoise
8-#CMDLINE_SOURCES += linenoise/linenoise.c
9+CCOPTS += -DDUK_CMDLINE_FANCY -D_BSD_SOURCE -I./linenoise
10+CMDLINE_SOURCES += linenoise/linenoise.c
11 #duk: linenoise
12
13 # Use the tools/configure.py utility to modify Duktape default configuration: