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

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

Issue 1537083003: Gold: Patch linker to implement --long-plt flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/long-plt.patch » ('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 99d107056bfbb086cbdb0f72ea4b944e59f9f7c9..30f1ee9770e01b2ff234f22affdf644f0838972c 100755
--- a/third_party/binutils/build-all.sh
+++ b/third_party/binutils/build-all.sh
@@ -36,25 +36,29 @@ if ! gpg --verify binutils-$VERSION.tar.bz2.sig; then
fi
-if [ ! -d binutils-$VERSION ]; then
- # Extract the source
- tar jxf binutils-$VERSION.tar.bz2
-
- # Patch the source
- (
- cd binutils-$VERSION
- echo "unlock-thin.patch"
- echo "=================================="
- patch -p1 < ../unlock-thin.patch
- echo "----------------------------------"
- echo
- echo "plugin-dso-fix.patch"
- echo "=================================="
- patch -p1 < ../plugin-dso-fix.patch
- echo "----------------------------------"
- echo
- )
-fi
+# Extract the source
+rm -rf binutils-$VERSION
+tar jxf binutils-$VERSION.tar.bz2
+
+# Patch the source
+(
+ cd binutils-$VERSION
+ echo "unlock-thin.patch"
+ echo "=================================="
+ patch -p1 < ../unlock-thin.patch
+ echo "----------------------------------"
+ echo
+ echo "plugin-dso-fix.patch"
+ echo "=================================="
+ patch -p1 < ../plugin-dso-fix.patch
+ echo "----------------------------------"
+ echo
+ echo "long-plt.patch"
+ echo "=================================="
+ patch -p1 < ../long-plt.patch
+ echo "----------------------------------"
+ echo
+)
for ARCH in i386 amd64; do
if [ ! -d precise-chroot-$ARCH ]; then
« no previous file with comments | « third_party/binutils/README.chromium ('k') | third_party/binutils/long-plt.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698