summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-01-06 11:35:20 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-01-06 12:23:14 +0100
commit6bb6d36816434fce18a56bfa87ace0e29b040fea (patch)
tree0b6d5376489da2f537f389d70941023617630d8e
parentcc82b043bde76c7a3b89e80c05be09698b8f473e (diff)
Revert "Print a warning with unknown SCons variables to ease troubleshooting"
-rw-r--r--SConstruct7
1 files changed, 0 insertions, 7 deletions
diff --git a/SConstruct b/SConstruct
index 9dcc6c554f..bdf4937cd7 100644
--- a/SConstruct
+++ b/SConstruct
@@ -300,13 +300,6 @@ opts.Update(env_base)
env_base["platform"] = selected_platform # Must always be re-set after calling opts.Update().
Help(opts.GenerateHelpText(env_base))
-# Detect and print a warning listing unknown SCons variables to ease troubleshooting.
-unknown = opts.UnknownVariables()
-if unknown:
- print("WARNING: Unknown SCons variables were passed and will be ignored:")
- for item in unknown.items():
- print(" " + item[0] + "=" + item[1])
-
# add default include paths
env_base.Prepend(CPPPATH=["#"])