aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/lua52/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/lua52/Makefile b/lang/lua52/Makefile
index 8aa34b79f77a..73c1821589f0 100644
--- a/lang/lua52/Makefile
+++ b/lang/lua52/Makefile
@@ -28,7 +28,7 @@ MAKE_ARGS= __MAKE_CONF=${NONEXISTENT}
# so that applications need not second-guess lua's dependencies.
LDFLAGS+= -lm -pthread
BUILD_WRKSRC= ${WRKSRC}/src
-MAKE_ARGS+= MYCFLAGS="${CFLAGS} -DLUA_USE_LINUX" \
+MAKE_ARGS+= MYCFLAGS="${CFLAGS} ${CPPFLAGS} -DLUA_USE_LINUX" \
MYLDFLAGS="${LDFLAGS} -Wl,-E -lreadline" \
CC="${CC}" \
LUA_T=lua52 \