From ea75a9de16c6f45d6ce4a7ce3e1bbf8e0070c0ae Mon Sep 17 00:00:00 2001 From: earthdok Date: Thu, 4 Dec 2014 13:40:09 -0800 Subject: 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} --- third_party/instrumented_libraries/scripts/udev.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to '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 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 -- cgit v1.1