summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 6d89686fce8..ad7018ed5c8 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -763,7 +763,7 @@ if (_OPTIONS["SHADOW_CHECK"]=="1") then
end
-- only show deprecation warnings when enabled
-if _OPTIONS["DEPRECATED"]~="1" then
+if _OPTIONS["DEPRECATED"]=="0" then
buildoptions {
"-Wno-deprecated-declarations"
}
@@ -933,6 +933,7 @@ end
"-Wwrite-strings",
"-Wno-sign-compare",
"-Wno-conversion",
+ "-Wno-error=deprecated-declarations",
}
-- warnings only applicable to C compiles
buildoptions_c {