diff options
-rw-r--r-- | chrome/BUILD.gn | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn index f25dd9c2..77a67b1 100644 --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn @@ -116,11 +116,9 @@ if (!is_android) { # Needed for chrome_main.cc initialization of libraries. configs += [ "//build/config/linux:pangocairo" ] - # TODO(GYP) ['profiling==0 and linux_disable_pie==0', { - # 'ldflags': [ - # '-pie', - # ], - #}], + # GYP has this in a 'profiling==0 and linux_disable_pie==0' condition. + # but GN doesn't have either of these flags. + ldflags = [ "-pie" ] if (use_x11) { configs += [ |