summaryrefslogtreecommitdiffstats
path: root/gears/SConscript.sqlite
diff options
context:
space:
mode:
authormpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-30 20:01:24 +0000
committermpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-30 20:01:24 +0000
commit777c7bff9d40214069752a8ca91ade106a60536b (patch)
tree79bb2ed5b72f896eb32564c35e983e994ed913ea /gears/SConscript.sqlite
parentdf06096817e6fc5a4a3e53b863cd4c439271ba45 (diff)
downloadchromium_src-777c7bff9d40214069752a8ca91ade106a60536b.zip
chromium_src-777c7bff9d40214069752a8ca91ade106a60536b.tar.gz
chromium_src-777c7bff9d40214069752a8ca91ade106a60536b.tar.bz2
Changes to make Gears build on linux.
Review URL: http://codereview.chromium.org/5023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2726 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gears/SConscript.sqlite')
-rw-r--r--gears/SConscript.sqlite12
1 files changed, 11 insertions, 1 deletions
diff --git a/gears/SConscript.sqlite b/gears/SConscript.sqlite
index f1917dc..5c69258 100644
--- a/gears/SConscript.sqlite
+++ b/gears/SConscript.sqlite
@@ -48,7 +48,7 @@ env.Append(
],
)
-if env['PLATFORM'] == 'win32':
+if env['OS'] == 'win32':
env.Append(
CPPFLAGS = [
# from Chrome
@@ -61,6 +61,16 @@ if env['PLATFORM'] == 'win32':
'/wd4146',
],
)
+elif env['OS'] == 'linux':
+ env.Append(
+ CPPFLAGS = [
+ '-Wno-uninitialized',
+ '-Wno-unused-value',
+ ],
+ CPPDEFINES = [
+ 'HAVE_USLEEP=1',
+ ],
+ )
input_files = [
'$SQLITE_DIR/src/alter.c',