summaryrefslogtreecommitdiffstats
path: root/third_party/instrumented_libraries/scripts/pulseaudio.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/instrumented_libraries/scripts/pulseaudio.sh')
-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