Roll DEPS for libelf clang compilation fix.
[chromium-blink-merge.git] / third_party / binutils / build-one.sh
blob191a88dc7135c9341acbcdc6532d7d82bb4b7ef2
1 #!/bin/sh
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 # Script to build binutils found in /build/binutils-XXXX when inside a chroot.
7 # Don't call this script yourself, instead use the build-all.sh script.
9 set -e
11 if [ -z "$1" ]; then
12 echo "Directory of binutils not given."
13 exit 1
16 cd "$1"
17 ./configure --enable-gold=default --enable-threads --prefix=/build/output
18 make -j8 all
19 make install