summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-10 17:54:54 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-10 17:54:54 (GMT)
commit525d9b52319f52346ac2354c30e0bbb487a422f4 (patch)
treef71f7f6f8268cfe076b7fa3ce2b53bddccb180b7
parent1eda0e0025550acde2c0c9c937a29063227201b1 (diff)
downloadswift-contrib-525d9b52319f52346ac2354c30e0bbb487a422f4.zip
swift-contrib-525d9b52319f52346ac2354c30e0bbb487a422f4.tar.bz2
Avoid SQLite compile warnings.
-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 = ["."])