diff options
author | 2017-11-02 13:38:29 +0700 | |
---|---|---|
committer | 2017-11-02 13:38:29 +0700 | |
commit | d14c0ba6fbdbc5c5c9f7d3dc975d9ccdf8fb8f18 (patch) | |
tree | 43de5041e96e9449ea2517d500e9d212006e4fe8 | |
parent | lua: porting to patch eclass, sync with tree (diff) | |
download | lua-d14c0ba6fbdbc5c5c9f7d3dc975d9ccdf8fb8f18.tar.gz lua-d14c0ba6fbdbc5c5c9f7d3dc975d9ccdf8fb8f18.tar.bz2 lua-d14c0ba6fbdbc5c5c9f7d3dc975d9ccdf8fb8f18.zip |
lua.eclass: add lua5.3-related integers definition to c{,xx}flags
-rw-r--r-- | eclass/lua.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/lua.eclass b/eclass/lua.eclass index c319f91..79e80c8 100644 --- a/eclass/lua.eclass +++ b/eclass/lua.eclass @@ -480,8 +480,8 @@ _lua_setFLAGS() { LUA_LF="$(${PKG_CONFIG} --libs $(basename ${lua}))" LUA_LF="${LUA_LF//-llua /-l$(lua_get_lua) }" - CFLAGS="${GLOBAL_CFLAGS} ${LUA_CF} -fPIC -DPIC" - CXXFLAGS="${GLOBAL_CXXFLAGS} ${LUA_CF} -fPIC -DPIC" + CFLAGS="${GLOBAL_CFLAGS} ${LUA_CF} -fPIC -DPIC -DLUA_C89_NUMBERS" + CXXFLAGS="${GLOBAL_CXXFLAGS} ${LUA_CF} -fPIC -DPIC -DLUA_C89_NUMBERS" LDFLAGS="${GLOBAL_LDFLAGS} -shared -fPIC" export CC CXX LD CFLAGS CXXFLAGS LDFLAGS PKG_CONFIG LUA_LF |