Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/lua/lib/liblua - use CPPFLAGS instead of CFLAGS...



details:   https://anonhg.NetBSD.org/src/rev/bb2704ce1954
branches:  trunk
changeset: 336064:bb2704ce1954
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 09 16:47:17 2015 +0000

description:
- 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.

diffstat:

 external/mit/lua/lib/liblua/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r cc693d6d6cd9 -r bb2704ce1954 external/mit/lua/lib/liblua/Makefile
--- a/external/mit/lua/lib/liblua/Makefile      Mon Feb 09 16:44:53 2015 +0000
+++ b/external/mit/lua/lib/liblua/Makefile      Mon Feb 09 16:47:17 2015 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index