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
This commit is contained in:
@ -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')
|
||||
|
||||
|
Reference in New Issue
Block a user