OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # Copyright 2013 The Chromium Authors. All rights reserved. | 2 # Copyright 2013 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # This script does some preparations before build of instrumented pulseaudio. | 6 # This script does some preparations before build of instrumented pulseaudio. |
7 | 7 |
8 # Disable problematic assembly in clang builds. | |
9 patch -p1 < $(dirname ${BASH_SOURCE[0]})/pulseaudio.diff | |
10 | |
11 # The configure script enforces FORTIFY_SOURCE=2, but we can't live with that. | 8 # The configure script enforces FORTIFY_SOURCE=2, but we can't live with that. |
12 sed -i "s/-D_FORTIFY_SOURCE=2/-U_FORTIFY_SOURCE/g" ./configure | 9 sed -i "s/-D_FORTIFY_SOURCE=2/-U_FORTIFY_SOURCE/g" ./configure |
OLD | NEW |