0016-chromium-sandbox-pie.patch 314 B

123456789101112131415
  1. --- a/sandbox/linux/BUILD.gn
  2. +++ b/sandbox/linux/BUILD.gn
  3. @@ -305,6 +305,12 @@ if (is_linux || is_chromeos) {
  4. # These files have a suspicious comparison.
  5. # TODO fix this and re-enable this warning.
  6. "-Wno-sign-compare",
  7. +
  8. + "-fPIE",
  9. + ]
  10. +
  11. + ldflags = [
  12. + "-pie",
  13. ]
  14. }
  15. }