Skip to content

Commit 74d00cf

Browse files
committed
fixup
1 parent c41b0f7 commit 74d00cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/openresty/build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ apt-get install -y build-essential ninja-build cmake make \
2525
patch -p1 < lua-c-api-tests/patches/luajit-v2.1.patch
2626

2727
# Build the target project.
28-
make CC="${CC}" CFLAGS="${CFLAGS} -DLUAJIT_USE_ASAN" LDFLAGS="${LDFLAGS}" -C src
28+
make CC="${CC}" CFLAGS="${CFLAGS} -DLUAJIT_USE_ASAN" \
29+
LDFLAGS="${LDFLAGS}" HOST_CFLAGS=-fno-sanitize=undefined -C src
2930
LUA_LIBRARIES=$(realpath ./src/libluajit.a)
3031
LUA_INCLUDE_DIR=$(realpath ./src/)
3132
LUA_EXECUTABLE=$(realpath ./src/luajit)

0 commit comments

Comments
 (0)