Chromium Code Reviews| Index: build/config/compiler/BUILD.gn |
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
| index f7797958044ce13f30fbba5f579e81fd282ed097..ce7b7c52768c1e887982cd737ce95d62cbdb1a55 100644 |
| --- a/build/config/compiler/BUILD.gn |
| +++ b/build/config/compiler/BUILD.gn |
| @@ -975,7 +975,8 @@ config("chromium_code") { |
| "__STDC_FORMAT_MACROS", |
| ] |
| - if (!using_sanitizer && (!is_linux || !is_clang || is_official_build)) { |
| + if (!is_debug && !using_sanitizer && |
|
viettrungluu
2015/09/15 23:48:22
Why !is_debug?
cdotstout
2015/09/16 22:00:59
Because, as the comment below says, defining FORTI
|
| + (!is_linux || !is_clang || is_official_build)) { |
| # _FORTIFY_SOURCE isn't really supported by Clang now, see |
| # http://llvm.org/bugs/show_bug.cgi?id=16821. |
| # It seems to work fine with Ubuntu 12 headers though, so use it in |