summaryrefslogtreecommitdiffstats
path: root/third_party/instrumented_libraries/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/instrumented_libraries/scripts')
-rwxr-xr-xthird_party/instrumented_libraries/scripts/udev.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/instrumented_libraries/scripts/udev.sh b/third_party/instrumented_libraries/scripts/udev.sh
index 568a5a2..921b590 100755
--- a/third_party/instrumented_libraries/scripts/udev.sh
+++ b/third_party/instrumented_libraries/scripts/udev.sh
@@ -10,3 +10,6 @@ autoreconf --force
# Do not warn about undefined sanitizer symbols in object files.
sed -i "s/\(-Wl,--no-undefined\|-Wl,-z,defs\)//g" ./configure
+
+# Do not fortify source (doesn't work with MSan).
+sed -i "s/-D_FORTIFY_SOURCE=2/-U_FORTIFY_SOURCE/g" ./configure