summaryrefslogtreecommitdiffstats
path: root/third_party/instrumented_libraries/scripts
diff options
context:
space:
mode:
authorearthdok <earthdok@chromium.org>2014-11-11 11:25:59 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-11 19:26:19 +0000
commitf867aeb0464d2b3bc1a495f4075cc85c59d17a4d (patch)
tree6032931736119b913aa7d0fd08538f531a4c9c42 /third_party/instrumented_libraries/scripts
parent28401af4c533f219dcd5b9f743f1603be5769abe (diff)
downloadchromium_src-f867aeb0464d2b3bc1a495f4075cc85c59d17a4d.zip
chromium_src-f867aeb0464d2b3bc1a495f4075cc85c59d17a4d.tar.gz
chromium_src-f867aeb0464d2b3bc1a495f4075cc85c59d17a4d.tar.bz2
Instrumented libraries: fix udev build on Trusty.
BUG=414189 TBR=glider@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/704073004 Cr-Commit-Position: refs/heads/master@{#303687}
Diffstat (limited to 'third_party/instrumented_libraries/scripts')
-rwxr-xr-xthird_party/instrumented_libraries/scripts/udev.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/instrumented_libraries/scripts/udev.sh b/third_party/instrumented_libraries/scripts/udev.sh
new file mode 100755
index 0000000..568a5a2
--- /dev/null
+++ b/third_party/instrumented_libraries/scripts/udev.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This script does some preparations before build of instrumented udev.
+
+# Required on Trusty due to autoconf version mismatch.
+autoreconf --force
+
+# Do not warn about undefined sanitizer symbols in object files.
+sed -i "s/\(-Wl,--no-undefined\|-Wl,-z,defs\)//g" ./configure