Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 67fc8e5b554a3bad4a41115cada9f3a0f95b4921..9c463d449afdefcab352e4fa6eccbdb70efbc295 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -4535,9 +4535,11 @@ |
'-fsanitize=memory', |
'-fsanitize-memory-track-origins=<(msan_track_origins)', |
'-fsanitize-blacklist=<(msan_blacklist)', |
+ '-fPIC', |
Nico
2015/11/25 15:26:02
I suppose these should get a "TODO: Remove once we
hans
2015/11/25 17:55:13
Done.
|
], |
'ldflags': [ |
'-fsanitize=memory', |
+ '-pie', |
], |
'defines': [ |
'MEMORY_SANITIZER', |