306d54f768
The build with gcc is currently broken, therefor I added a clang build option that is enabled by default for now. The following system libraries are now used: * fontconfig * freetype * harfbuzz-ng * opus * re2 Removed the `use_gconf` gn option because it doesn't exist anymore. Closes #12807
21 lines
727 B
Diff
21 lines
727 B
Diff
--- build/config/compiler/BUILD.gn
|
|
+++ build/config/compiler/BUILD.gn
|
|
@@ -422,18 +422,6 @@
|
|
cflags += [ "-fcolor-diagnostics" ]
|
|
}
|
|
|
|
- # TODO(hans): Remove this once Clang generates better optimized debug info by
|
|
- # default. https://crbug.com/765793
|
|
- if (is_clang && !is_nacl && current_toolchain == host_toolchain &&
|
|
- target_os != "chromeos") {
|
|
- cflags += [
|
|
- "-Xclang",
|
|
- "-mllvm",
|
|
- "-Xclang",
|
|
- "-instcombine-lower-dbg-declare=0",
|
|
- ]
|
|
- }
|
|
-
|
|
# Print absolute paths in diagnostics. There is no precedent for doing this
|
|
# on Linux/Mac (GCC doesn't support it), but MSVC does this with /FC and
|
|
# Windows developers rely on it (crbug.com/636109) so only do this on Windows.
|