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