configure: include -lm and -DLUA_USE_POSIX in config.mk

This commit is contained in:
Jeremy Baxter 2024-02-18 18:14:34 +13:00
parent 331c6acbd2
commit bbd25fe4a2
2 changed files with 15 additions and 10 deletions

View file

@ -7,7 +7,7 @@ LUADIR = external/lua
CC = ${_CC}
CFLAGS = ${_CFLAGS} -I${LUADIR} -pedantic -Wall -Wextra
CPPFLAGS = -D_DEFAULT_SOURCE
LDFLAGS = -lm ${_LDFLAGS}
LDFLAGS = ${_LDFLAGS}
OBJS = callisto.o lcl.o lenviron.o lextra.o lfs.o ljson.o \
lprocess.o util.o