summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 95bb6dba6af..d17753a8834 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -521,7 +521,7 @@ if (_OPTIONS["SOURCES"] == nil) then
dofile (path.join("target", _OPTIONS["target"],_OPTIONS["subtarget"] .. ".lua"))
end
-configuration { "gmake" }
+configuration { "gmake or ninja" }
flags {
"SingleOutputDir",
}
@@ -681,7 +681,7 @@ end
"LUA_COMPAT_5_2",
}
- if _ACTION == "gmake" then
+ if _ACTION == "gmake" or _ACTION == "ninja" then
--we compile C-only to C99 standard with GNU extensions