diff options
author | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-30 20:01:24 +0000 |
---|---|---|
committer | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-30 20:01:24 +0000 |
commit | 777c7bff9d40214069752a8ca91ade106a60536b (patch) | |
tree | 79bb2ed5b72f896eb32564c35e983e994ed913ea /gears/SConscript.libgd | |
parent | df06096817e6fc5a4a3e53b863cd4c439271ba45 (diff) | |
download | chromium_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.libgd')
-rw-r--r-- | gears/SConscript.libgd | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gears/SConscript.libgd b/gears/SConscript.libgd index 652e4e1..9deed8f 100644 --- a/gears/SConscript.libgd +++ b/gears/SConscript.libgd @@ -27,7 +27,7 @@ env.Append( ) -if env['PLATFORM'] == 'win32': +if env['OS'] == 'win32': env.Append( CPPFLAGS = [ # Disable some warnings when building third-party code, so we can enable /WX. @@ -44,7 +44,14 @@ if env['PLATFORM'] == 'win32': '/wd4102', ], ) - +elif env['OS'] == 'linux': + env.Append( + CPPFLAGS = [ + '-Wno-unused-variable', + '-Wno-unused-function', + '-Wno-unused-label', + ], + ) input_files = [ '$LIBGD_DIR/gd.c', |