summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/SQLite/SConscript')
-rw-r--r--3rdParty/SQLite/SConscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/3rdParty/SQLite/SConscript b/3rdParty/SQLite/SConscript
index c13aa7d..0f86856 100644
--- a/3rdParty/SQLite/SConscript
+++ b/3rdParty/SQLite/SConscript
@@ -6,4 +6,6 @@ env["SQLITE_FLAGS"] = {
"LIBS": ["SQLite"],
}
-env.StaticLibrary("SQLite", ["sqlite3.c"], CPPPATH = ["."])
+myenv = env.Clone()
+myenv.Replace(CCFLAGS = [flag for flag in env["CCFLAGS"] if flag not in ["-W", "-Wall"]])
+myenv.StaticLibrary("SQLite", ["sqlite3.c"], CPPPATH = ["."])