diff options
| -rw-r--r-- | core/plat/linux/prefix.mak | 2 | ||||
| -rw-r--r-- | core/src/luajit/xmake.lua | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/core/plat/linux/prefix.mak b/core/plat/linux/prefix.mak index 9432cf432..1a134a905 100644 --- a/core/plat/linux/prefix.mak +++ b/core/plat/linux/prefix.mak @@ -88,7 +88,7 @@ endif CFLAGS_RELEASE = CFLAGS_DEBUG = CFLAGS = \ - -std=c99 \ + -std=gnu99 \ -D_GNU_SOURCE=1 -D_REENTRANT \ -fno-math-errno 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 |
