summaryrefslogtreecommitdiff
path: root/core/src/luajit/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-03-30 06:34:59 -0400
committerruki <[email protected]>2017-03-30 06:34:59 -0400
commite2c11f9bc6be0eec20720824f5616c60d0806bee (patch)
treea03883c094035cf500da5fb08ca9496ca1348247 /core/src/luajit/xmake.lua
parente8c12f104555b049fc34befcfb347f0b6573f40d (diff)
fix compile error for rhel5
Diffstat (limited to 'core/src/luajit/xmake.lua')
-rw-r--r--core/src/luajit/xmake.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/luajit/xmake.lua b/core/src/luajit/xmake.lua
index a9b140959..33999711f 100644
--- a/core/src/luajit/xmake.lua
+++ b/core/src/luajit/xmake.lua
@@ -18,6 +18,8 @@ target("luajit")
-- disable c99(/TP) for windows
if is_plat("windows") then
set_languages("c89")
+ else
+ set_languages("gnu99")
end
-- set the object files directory