diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-10 17:54:54 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-10 17:54:54 (GMT) |
commit | 525d9b52319f52346ac2354c30e0bbb487a422f4 (patch) | |
tree | f71f7f6f8268cfe076b7fa3ce2b53bddccb180b7 /3rdParty | |
parent | 1eda0e0025550acde2c0c9c937a29063227201b1 (diff) | |
download | swift-contrib-525d9b52319f52346ac2354c30e0bbb487a422f4.zip swift-contrib-525d9b52319f52346ac2354c30e0bbb487a422f4.tar.bz2 |
Avoid SQLite compile warnings.
Diffstat (limited to '3rdParty')
-rw-r--r-- | 3rdParty/SQLite/SConscript | 4 |
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 = ["."]) |