diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-21 05:16:39 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-21 05:16:39 +0000 |
commit | 140d59c7cfa01e2d6a644091c29dcad9010c0e66 (patch) | |
tree | e288d5f91ba3f28a1fa717daeb6bbe3e4c27d9d1 | |
parent | f0b851441ccfad4a399f3b000739301618ffece3 (diff) | |
download | chromium_src-140d59c7cfa01e2d6a644091c29dcad9010c0e66.zip chromium_src-140d59c7cfa01e2d6a644091c29dcad9010c0e66.tar.gz chromium_src-140d59c7cfa01e2d6a644091c29dcad9010c0e66.tar.bz2 |
Only remove -Wall from $CXXFLAGS on Linux, not on Mac. Mac's tool
chain doesn't add -Wall, leading to an exception and stack trace.
Review URL: http://codereview.chromium.org/11343
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5819 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | base/base_lib.scons | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/base_lib.scons b/base/base_lib.scons index ad9484b..f26d3e3 100644 --- a/base/base_lib.scons +++ b/base/base_lib.scons @@ -92,7 +92,7 @@ if env_dmg_fp['PLATFORM'] == 'win32': '/wd4554', ], ) -else: +elif env_dmg_fp['PLATFORM'] == 'posix': env_dmg_fp['CXXFLAGS'].remove('-Wall') env_dmg_fp['CXXFLAGS'].append('-Wno-write-strings') |