summaryrefslogtreecommitdiffstats
path: root/gears/SConscript.googleurl
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.googleurl
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.googleurl')
-rw-r--r--gears/SConscript.googleurl4
1 files changed, 3 insertions, 1 deletions
diff --git a/gears/SConscript.googleurl b/gears/SConscript.googleurl
index 771c0e7..c4fea18 100644
--- a/gears/SConscript.googleurl
+++ b/gears/SConscript.googleurl
@@ -24,13 +24,15 @@ env.Append(
],
)
-if env['PLATFORM'] == 'win32':
+if env['OS'] == 'win32':
env.Append(
CCFLAGS = [
# '/TP',
# '/J',
],
)
+elif env['OS'] == 'linux':
+ env.Append(CCFLAGS = '-Wno-char-subscripts')
input_files = [
'$GURL_DIR/src/gurl.cc',