Cannot build
Opened this issue · 0 comments
Stepets commented
make fails with message
mkdir -p build
cc Usage: luvit [options] script.lua [arguments] Options: -h, --help Print this help screen. -v, --version Print the version. -e code_chunk Evaluate code chunk and print result. -i, --interactive Enter interactive repl after executing script. -n, --no-color Disable colors. -c, --16-colors Use simple ANSI colors -C, --256-colors Use 256-mode ANSI colors (Note, if no script is provided, a repl is run instead.) -Ideps/hiredis -Isrc -o build/redis.luvit src/redis.c deps/hiredis/libhiredis.a Usage: luvit [options] script.lua [arguments] Options: -h, --help Print this help screen. -v, --version Print the version. -e code_chunk Evaluate code chunk and print result. -i, --interactive Enter interactive repl after executing script. -n, --no-color Disable colors. -c, --16-colors Use simple ANSI colors -C, --256-colors Use 256-mode ANSI colors (Note, if no script is provided, a repl is run instead.) deps/hiredis/libhiredis.a
/bin/sh: 1: Syntax error: "(" unexpected
make: *** [build/redis.luvit] Error 2
seems like CFLAGS contains wrong value
$(CC) ${CFLAGS} -I${HIREDISDIR} -Isrc -o $@ $^ ${LIBS} ${HIREDISDIR}/libhiredis.a
LUVIT = luvit
CFLAGS = $(shell $(LUVIT) --cflags | sed s/-Werror//)