| Index: trunk/src/build/config/compiler/BUILD.gn
|
| ===================================================================
|
| --- trunk/src/build/config/compiler/BUILD.gn (revision 273187)
|
| +++ trunk/src/build/config/compiler/BUILD.gn (working copy)
|
| @@ -219,19 +219,8 @@
|
| "-fno-short-enums",
|
| ]
|
| if (!is_clang) {
|
| - # Clang doesn't support these flags.
|
| - cflags += [
|
| - "-finline-limit=64",
|
| - # The following 6 options are disabled to save on
|
| - # binary size in gcc 4.8.
|
| - # TODO(fdegans) Reevaluate when we upgrade GCC.
|
| - "-fno-partial-inlining",
|
| - "-fno-early-inlining",
|
| - "-fno-tree-copy-prop",
|
| - "-fno-tree-loop-optimize",
|
| - "-fno-move-loop-invariants",
|
| - "-fno-caller-saves",
|
| - ]
|
| + # Clang doesn't support this one.
|
| + cflags += [ "-finline-limit=64" ]
|
| }
|
| if (is_android_webview_build) {
|
| # Android predefines this as 1; undefine it here so Chromium can redefine
|
| @@ -629,15 +618,6 @@
|
| "-Wno-sign-promo",
|
| ]
|
| }
|
| -
|
| - if (gcc_version >= 48) {
|
| - # Don't warn about the "typedef 'foo' locally defined but not used"
|
| - # for gcc 4.8.
|
| - # TODO: remove this flag once all builds work. See crbug.com/227506
|
| - cflags += [
|
| - "-Wno-unused-local-typedefs",
|
| - ]
|
| - }
|
| }
|
| }
|
|
|
| @@ -796,3 +776,4 @@
|
| cflags = [ "-g0" ]
|
| }
|
| }
|
| +
|
|
|