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

Unified Diff: third_party/binutils/build-all.sh

Issue 2961943002: Remove LTO-related hacks from binutils build script. (Closed)
Patch Set: Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/binutils/README.chromium ('k') | third_party/binutils/build-one.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/binutils/build-all.sh
diff --git a/third_party/binutils/build-all.sh b/third_party/binutils/build-all.sh
index 1e3d4ebd81d187ff0842d04a153e37df4451642e..ee64a458105fbea8392d4a5534f314e8442f6247 100755
--- a/third_party/binutils/build-all.sh
+++ b/third_party/binutils/build-all.sh
@@ -35,10 +35,6 @@ 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
tar jxf binutils-$VERSION.tar.bz2
@@ -72,10 +68,9 @@ for ARCH in i386 amd64; do
echo ""
echo "Building chroot for $ARCH"
echo "============================="
- GPERFTOOLS_DEPS=autoconf,automake,libtool
sudo debootstrap \
--arch=$ARCH \
- --include=build-essential,flex,bison,$GPERFTOOLS_DEPS \
+ --include=build-essential,flex,bison \
precise precise-chroot-$ARCH
echo "============================="
fi
@@ -91,7 +86,6 @@ 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=
@@ -122,10 +116,6 @@ for ARCH in i386 amd64; do
# Copy them out of the chroot
cp -a "$BUILDDIR/output/$ARCHNAME" "$OUTPUTDIR"
- # Copy plugin header out of the chroot
- mkdir "$OUTPUTDIR/$ARCHNAME/include"
- cp "$BUILDDIR/binutils-$VERSION/include/plugin-api.h" "$OUTPUTDIR/$ARCHNAME/include/"
-
# Clean up chroot
sudo rm -rf "$BUILDDIR"
done
« no previous file with comments | « third_party/binutils/README.chromium ('k') | third_party/binutils/build-one.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698