Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: third_party/instrumented_libraries/scripts/pre-build/udev.sh

Issue 1012823003: Instrumented libraries: move all scripts to scripts/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename run-before-build -> pre-build Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 udev. 6 # This script does some preparations before build of instrumented udev.
7 7
8 # Required on Trusty due to autoconf version mismatch. 8 # Required on Trusty due to autoconf version mismatch.
9 autoreconf --force 9 autoreconf --force
10 10
11 # Do not warn about undefined sanitizer symbols in object files. 11 # Do not warn about undefined sanitizer symbols in object files.
12 sed -i "s/\(-Wl,--no-undefined\|-Wl,-z,defs\)//g" ./configure 12 sed -i "s/\(-Wl,--no-undefined\|-Wl,-z,defs\)//g" ./configure
13 13
14 # Do not fortify source (doesn't work with MSan). 14 # Do not fortify source (doesn't work with MSan).
15 sed -i "s/-D_FORTIFY_SOURCE=2/-U_FORTIFY_SOURCE/g" ./configure 15 sed -i "s/-D_FORTIFY_SOURCE=2/-U_FORTIFY_SOURCE/g" ./configure
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698