Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/instrumented_libraries/scripts/udev.sh

Issue 755653006: Instrumented libraries: do not use FORTIFY_SOURCE when building udev. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/instrumented_libraries/download_build_install.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/instrumented_libraries/scripts/udev.sh
diff --git a/third_party/instrumented_libraries/scripts/udev.sh b/third_party/instrumented_libraries/scripts/udev.sh
index 568a5a27bb00f58c3c37cde2fd8f1a9b65230613..921b59068e44aada00d0e7018e0d9e4f109b8023 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
« no previous file with comments | « third_party/instrumented_libraries/download_build_install.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698