[Pkg-chromium-maint] [PATCH] strip third_party/gold from .orig.tar.bz2

Andrew Chant achant at google.com
Sat Jun 2 08:42:40 UTC 2012


strip third_party/gold from upstream tarball to prevent inclusion
and preclude use of precompiled linker binaries.

TESTED:
 successfully built chromium_20.0.1132.21~r139451-1_amd64.deb
 and friends from the resultant .orig.tar.bz2.

 checked to ensure .orig.tar.bz2 didn'd have third_party/gold.
---
 debian/rules |    1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 1c1e200..12ca1c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -662,6 +662,7 @@ STRIPPED_DIRS := \
 	third_party/ffmpeg/binaries \
 	third_party/fuzzymatch \
 	third_party/gles_book_examples \
+	third_party/gold # contains precompiled binaries! \
 	third_party/hunspell/dictionaries \
 	third_party/icu/mac \
 	third_party/lcov \
-- 
1.7.10




More information about the Pkg-chromium-maint mailing list