summaryrefslogtreecommitdiffstats
path: root/third_party/instrumented_libraries/scripts
diff options
context:
space:
mode:
authorearthdok <earthdok@chromium.org>2014-12-04 13:40:09 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-04 21:40:28 +0000
commitea75a9de16c6f45d6ce4a7ce3e1bbf8e0070c0ae (patch)
tree3d936123b61cff30cc61dd0b7a2793e82490bd63 /third_party/instrumented_libraries/scripts
parentf1c87bfafb8fb5822cbc740e4373715773f1954f (diff)
downloadchromium_src-ea75a9de16c6f45d6ce4a7ce3e1bbf8e0070c0ae.zip
chromium_src-ea75a9de16c6f45d6ce4a7ce3e1bbf8e0070c0ae.tar.gz
chromium_src-ea75a9de16c6f45d6ce4a7ce3e1bbf8e0070c0ae.tar.bz2
Instrumented libraries: do not use FORTIFY_SOURCE when building udev.
Also, address a nit from a prior post-commit review. BUG=414189 TBR=glider@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/755653006 Cr-Commit-Position: refs/heads/master@{#306897}
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