clang: Turn on C++11 on CrOs too.
This was blocked on the main waterfall linux_chromeos_clang bot migrating to precise, which has happened now. I believe all bots that build chromeos with clang are on precise now. If any turns red, this CL should be reverted. BUG=none R=ajwong@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198920 Review URL: https://codereview.chromium.org/14992005 git-svn-id: http://src.chromium.org/svn/trunk/src/build@203221 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
cd535bb37b
Коммит
81bdfd0221
|
@ -3064,7 +3064,7 @@
|
|||
'-mfpmath=sse',
|
||||
],
|
||||
}],
|
||||
['clang==1 and (OS!="android" and chromeos!=1)', {
|
||||
['clang==1 and OS!="android"', {
|
||||
# Turn on C++11.
|
||||
'cflags': [
|
||||
# This warns on using ints as initializers for floats in
|
||||
|
@ -3085,7 +3085,7 @@
|
|||
'-std=gnu++11',
|
||||
],
|
||||
}],
|
||||
['clang==1 and (OS=="android" or chromeos==1)', {
|
||||
['clang==1 and OS=="android"', {
|
||||
# Android uses gcc4.4, and clang isn't compatible with gcc4.4's
|
||||
# libstdc++ in C++11 mode. So no C++11 mode for Android yet.
|
||||
# Doesn't work with asan for some reason either: crbug.com/233464
|
||||
|
|
Загрузка…
Ссылка в новой задаче