diff options
author | 2017-11-03 02:42:35 +0700 | |
---|---|---|
committer | 2017-11-03 02:42:35 +0700 | |
commit | 7fd087cc738bc61ae084a5eb5b8062b8e0121211 (patch) | |
tree | 504de1e783cb0d55a88cdbe1ec74184e3edd11ca | |
parent | luajit: fix non-amalgamated build (diff) | |
download | lua-7fd087cc738bc61ae084a5eb5b8062b8e0121211.tar.gz lua-7fd087cc738bc61ae084a5eb5b8062b8e0121211.tar.bz2 lua-7fd087cc738bc61ae084a5eb5b8062b8e0121211.zip |
lua.eclass: revert c89-numbers on lua53
-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 79e80c8..c319f91 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 -DLUA_C89_NUMBERS" - CXXFLAGS="${GLOBAL_CXXFLAGS} ${LUA_CF} -fPIC -DPIC -DLUA_C89_NUMBERS" + CFLAGS="${GLOBAL_CFLAGS} ${LUA_CF} -fPIC -DPIC" + CXXFLAGS="${GLOBAL_CXXFLAGS} ${LUA_CF} -fPIC -DPIC" LDFLAGS="${GLOBAL_LDFLAGS} -shared -fPIC" export CC CXX LD CFLAGS CXXFLAGS LDFLAGS PKG_CONFIG LUA_LF |