From 044e43397f86132b069087dfed5e59787911d18a Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Mon, 22 Oct 2018 12:07:46 -0700 Subject: [PATCH] build: reenable -fwhole-program-vtables (#15228) --- patches/common/chromium/build_gn.patch | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/patches/common/chromium/build_gn.patch b/patches/common/chromium/build_gn.patch index fdcc9e14a1b..3294a3deab5 100644 --- a/patches/common/chromium/build_gn.patch +++ b/patches/common/chromium/build_gn.patch @@ -26,29 +26,6 @@ index fcc00ee0e49f..3232a0360e94 100644 ] if (is_win) { -diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn -index 959a59231746..48f1285c4657 100644 ---- a/build/config/compiler/BUILD.gn -+++ b/build/config/compiler/BUILD.gn -@@ -634,12 +634,12 @@ config("compiler") { - - # TODO(pcc): Re-enable this flag on Android. This will require libc++ to be - # built with ThinLTO (see https://crbug.com/767901) as well as the GVR shim. -- if (!is_android) { -- cflags += [ "-fwhole-program-vtables" ] -- if (!is_win) { -- ldflags += [ "-fwhole-program-vtables" ] -- } -- } -+ # if (!is_android) { -+ # cflags += [ "-fwhole-program-vtables" ] -+ # if (!is_win) { -+ # ldflags += [ "-fwhole-program-vtables" ] -+ # } -+ # } - - # Work-around for http://openradar.appspot.com/20356002 - if (is_mac) { -- 2.17.0