Module Name: src
Committed By: christos
Date: Mon Feb 9 16:47:17 UTC 2015
Modified Files:
src/external/mit/lua/lib/liblua: Makefile
Log Message:
- use CPPFLAGS instead of CFLAGS for things that the c-preprocessor handle.
- add LUA_C89_NUMBERS for "long long" and don't depend on _NETBSD_SOURCE
for defining this.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/lua/lib/liblua/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mit/lua/lib/liblua/Makefile
diff -u src/external/mit/lua/lib/liblua/Makefile:1.6 src/external/mit/lua/lib/liblua/Makefile:1.7
--- src/external/mit/lua/lib/liblua/Makefile:1.6 Sat Jul 19 14:38:34 2014
+++ src/external/mit/lua/lib/liblua/Makefile Mon Feb 9 11:47:17 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2014/07/19 18:38:34 lneto Exp $
+# $NetBSD: Makefile,v 1.7 2015/02/09 16:47:17 christos Exp $
LIB= lua
LUA_CORE= lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c \
@@ -14,10 +14,11 @@ SRCS= ${LUA_CORE} ${LUA_LIB}
INCS= lauxlib.h lua.h lua.hpp luaconf.h lualib.h
INCSDIR= /usr/include
-CFLAGS+= -DLUA_USE_POSIX -DLUA_USE_DLOPEN
+CPPFLAGS+= -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_C89_NUMBERS
CWARNFLAGS.clang+= -Wno-empty-body
LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm
+LINTFLAGS+=-V
.PATH: ${NETBSDSRCDIR}/external/mit/lua/dist/src