Chromium Code Reviews| Index: third_party/binutils/build-all.sh |
| diff --git a/third_party/binutils/build-all.sh b/third_party/binutils/build-all.sh |
| index 30f1ee9770e01b2ff234f22affdf644f0838972c..e5384086aa8d477f26613eb0d5eff4bd1b6ae75e 100755 |
| --- a/third_party/binutils/build-all.sh |
| +++ b/third_party/binutils/build-all.sh |
| @@ -35,6 +35,9 @@ if ! gpg --verify binutils-$VERSION.tar.bz2.sig; then |
| exit 1 |
| fi |
| +if [ ! -d gperftools ]; then |
| + git clone --branch gperftools-2.4 https://github.com/gperftools/gperftools |
| +fi |
| # Extract the source |
| rm -rf binutils-$VERSION |
| @@ -71,7 +74,7 @@ for ARCH in i386 amd64; do |
| echo "=============================" |
| sudo debootstrap \ |
| --arch=$ARCH \ |
| - --include=build-essential,flex,bison \ |
| + --include=build-essential,flex,bison,autoconf,libtool,automake \ |
|
Lei Zhang
2016/02/05 21:21:00
Can you make a couple variables for binutils build
krasin1
2016/02/05 21:51:53
Done.
|
| precise precise-chroot-$ARCH |
| echo "=============================" |
| fi |
| @@ -87,6 +90,7 @@ for ARCH in i386 amd64; do |
| sudo mkdir -p "$BUILDDIR" |
| sudo cp -a binutils-$VERSION "$BUILDDIR" |
| sudo cp -a build-one.sh "$BUILDDIR" |
| + sudo cp -a gperftools "$BUILDDIR" |
| # Do the build |
| PREFIX= |