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

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

Issue 1704223003: third_party/binutils: Add --enable-deterministic-archives (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small fixes to build-one and binutil sha1 files. Created 4 years, 10 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/Linux_x64/binutils.tar.bz2.sha1 ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/binutils/build-one.sh
diff --git a/third_party/binutils/build-one.sh b/third_party/binutils/build-one.sh
index 7611d09035bb2df18718ecb9c739952540cac017..ccb58be35e7a8d46ca5a3ff7480be4255f7b3c27 100755
--- a/third_party/binutils/build-one.sh
+++ b/third_party/binutils/build-one.sh
@@ -7,6 +7,7 @@
# Don't call this script yourself, instead use the build-all.sh script.
set -e
+set -x
if [ -z "$1" ]; then
echo "Directory of binutils not given."
@@ -19,8 +20,19 @@ cd "$1"
cd ../gperftools/
./autogen.sh
-./configure --disable-static --enable-minimal --disable-heap-checker \
- --disable-heap-profiler --disable-cpu-profiler
+./configure \
+ --disable-cpu-profiler \
+ --disable-heap-checker \
+ --disable-heap-profiler \
+ --disable-static \
+ --enable-minimal
+
+echo
+echo "= gperftools src/config.h =========================================="
+cat src/config.h
+echo "===================================================================="
+echo
+
make -j8
cd "$1"
@@ -39,10 +51,20 @@ export LDFLAGS="-Wl,-rpath,$LIBSTDCPP_RPATH:$LIBTCMALLOC_RPATH \
-L$(pwd)/../gperftools/.libs/"
export LIBS='-ltcmalloc_minimal'
-./configure --enable-gold=default --enable-threads --enable-plugins \
+./configure \
+ --enable-deterministic-archives \
+ --enable-gold=default \
+ --enable-plugins \
+ --enable-threads \
--prefix=/build/output
+
make -j8 all
+echo
+echo "= binutils/config.h ================================================"
+cat binutils/config.h
+echo "===================================================================="
+echo
make install
# Copy libtcmalloc_minimal library and symlinks to the install lib dir.
« no previous file with comments | « third_party/binutils/Linux_x64/binutils.tar.bz2.sha1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698