| Index: build/config/compiler/BUILD.gn
|
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
| index 78c26e391bb6f409c8027c168c1b6dab9f5b045f..0ac0eea297db91a40014e1d5599cf8c10dd5e5a7 100644
|
| --- a/build/config/compiler/BUILD.gn
|
| +++ b/build/config/compiler/BUILD.gn
|
| @@ -465,11 +465,8 @@ config("compiler") {
|
| ldflags += [ "-Wl,-plugin-opt,-function-sections" ]
|
| }
|
|
|
| - # TODO(pcc): Make these flags work correctly with CFI.
|
| - if (!is_cfi) {
|
| - cflags += [ "-fwhole-program-vtables" ]
|
| - ldflags += [ "-fwhole-program-vtables" ]
|
| - }
|
| + cflags += [ "-fwhole-program-vtables" ]
|
| + ldflags += [ "-fwhole-program-vtables" ]
|
| }
|
|
|
| # Pass the same C/C++ flags to the objective C/C++ compiler.
|
|
|