Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / instrumented_libraries / scripts / pre-build / pulseaudio.sh
bloba74f1a7ad87be2ac03bda9fc6fa410d8cedc3535
1 #!/bin/bash
2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
6 # This script does some preparations before build of instrumented pulseaudio.
8 automake --add-missing
9 autoreconf
11 # Do not warn about undefined sanitizer symbols in object files.
12 sed -i "s/\(-Wl,--no-undefined\|-Wl,-z,defs\)//g" ./configure
13 # The configure script enforces FORTIFY_SOURCE=2, but we can't live with that.
14 sed -i "s/-D_FORTIFY_SOURCE=2/-U_FORTIFY_SOURCE/g" ./configure