summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/instrumented_libraries/instrumented_libraries.gyp2
-rwxr-xr-xthird_party/instrumented_libraries/scripts/pulseaudio.sh5
2 files changed, 6 insertions, 1 deletions
diff --git a/third_party/instrumented_libraries/instrumented_libraries.gyp b/third_party/instrumented_libraries/instrumented_libraries.gyp
index 4399f68..fc07a3f 100644
--- a/third_party/instrumented_libraries/instrumented_libraries.gyp
+++ b/third_party/instrumented_libraries/instrumented_libraries.gyp
@@ -422,6 +422,7 @@
'conditions': [
['"<(_ubuntu_release)"=="precise"', {
'patch': 'patches/pulseaudio.precise.diff',
+ 'jobs': 1,
}],
],
'extra_configure_flags': [
@@ -433,7 +434,6 @@
'--disable-neon-opt'
],
'run_before_build': 'scripts/pulseaudio.sh',
- 'jobs': 1,
'includes': ['standard_instrumented_package_target.gypi'],
},
{
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