#!/bin/sh
# 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.

# Script to build binutils found in /build/binutils-XXXX when inside a chroot.
# Don't call this script yourself, instead use the build-all.sh script.

set -e

if [ -z "$1" ]; then
 echo "Directory of binutils not given."
 exit 1
fi

cd "$1"
./configure --enable-gold=default --enable-threads --prefix=/build/output
make -j8 all
make install

#!/bin/sh
# 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.

# Script to build binutils found in /build/binutils-XXXX when inside a chroot.
# Don't call this script yourself, instead use the build-all.sh script.

set -e

if [ -z "$1" ]; then
 echo "Directory of binutils not given."
 exit 1
fi

cd "$1"
./configure --enable-gold=default --enable-threads --enable-plugins \
  --prefix=/build/output
make -j8 all
make install

Change the binutils build script to enable plugins.
Linux: Change the binutils build script to enable plugins.

BUG=396037
NOTRY=true

Review URL: https://codereview.chromium.org/419023006

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@286568 0039d316-1c4b-4281-b951-d872f2087c98
