Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index ae12eda3ba7b556e4c7f0a0b25e71ccd767995fc..51b9a598cdb37e05bcc0158c2b3e107dc07bb715 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -10,6 +10,8 @@ if (is_posix) { |
import("//build/config/gcc/gcc_version.gni") |
} |
+import("//build/toolchain/ccache.gni") |
+ |
declare_args() { |
# Normally, Android builds are lightly optimized, even for debug builds, to |
# keep binary size down. Setting this flag to true disables such optimization |
@@ -30,7 +32,7 @@ if (!is_win) { |
# with some utilities such as icecc and ccache. Requires gold and |
# gcc >= 4.8 or clang. |
# http://gcc.gnu.org/wiki/DebugFission |
- use_debug_fission = use_gold && linux_use_bundled_binutils |
+ use_debug_fission = use_gold && linux_use_bundled_binutils && !use_ccache |
} |
# default_include_dirs --------------------------------------------------------- |