summaryrefslogtreecommitdiffstats
path: root/third_party/instrumented_libraries/scripts
diff options
context:
space:
mode:
authorearthdok <earthdok@chromium.org>2014-11-11 10:25:52 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-11 18:26:15 +0000
commiteba7d4b5dcbd3e01c6e1962cdd3af7415269a886 (patch)
treed0188633c11fd5696273ec03cee87ecac7d6abb2 /third_party/instrumented_libraries/scripts
parent6cef75c5eebd1f15f7bbb00345301783c0ef39e2 (diff)
downloadchromium_src-eba7d4b5dcbd3e01c6e1962cdd3af7415269a886.zip
chromium_src-eba7d4b5dcbd3e01c6e1962cdd3af7415269a886.tar.gz
chromium_src-eba7d4b5dcbd3e01c6e1962cdd3af7415269a886.tar.bz2
Instrumented libraries: fix pulseaudio build on Trusty.
This time for real. BUG=414189 TBR=glider@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/714963002 Cr-Commit-Position: refs/heads/master@{#303678}
Diffstat (limited to 'third_party/instrumented_libraries/scripts')
-rwxr-xr-xthird_party/instrumented_libraries/scripts/pulseaudio.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/instrumented_libraries/scripts/pulseaudio.sh b/third_party/instrumented_libraries/scripts/pulseaudio.sh
index da9aa66..a74f1a7 100755
--- a/third_party/instrumented_libraries/scripts/pulseaudio.sh
+++ b/third_party/instrumented_libraries/scripts/pulseaudio.sh
@@ -5,5 +5,10 @@
# This script does some preparations before build of instrumented pulseaudio.
+automake --add-missing
+autoreconf
+
+# Do not warn about undefined sanitizer symbols in object files.
+sed -i "s/\(-Wl,--no-undefined\|-Wl,-z,defs\)//g" ./configure
# The configure script enforces FORTIFY_SOURCE=2, but we can't live with that.
sed -i "s/-D_FORTIFY_SOURCE=2/-U_FORTIFY_SOURCE/g" ./configure