--- a/sandbox/linux/sandbox_linux.gypi +++ b/sandbox/linux/sandbox_linux.gypi @@ -221,7 +221,10 @@ ], 'cflags': [ # For ULLONG_MAX - '-std=gnu99', + '-std=gnu99 -fPIE', + ], + 'ldflags': [ + '-pie', ], 'include_dirs': [ '../..',