commit:     e5f6bd220d80055d4706b3832f0452d7ed18509c
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 25 20:26:37 2018 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Aug 25 20:26:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5f6bd22

www-client/chromium: restore pax-mark of intermediate targets

Closes: https://bugs.gentoo.org/661282
Package-Manager: Portage-2.3.47, Repoman-2.3.10_p41

 www-client/chromium/chromium-68.0.3440.106.ebuild | 12 ++++++++++++
 www-client/chromium/chromium-68.0.3440.75.ebuild  | 12 ++++++++++++
 www-client/chromium/chromium-69.0.3497.42.ebuild  | 12 ++++++++++++
 www-client/chromium/chromium-70.0.3521.2.ebuild   | 12 ++++++++++++
 4 files changed, 48 insertions(+)

diff --git a/www-client/chromium/chromium-68.0.3440.106.ebuild 
b/www-client/chromium/chromium-68.0.3440.106.ebuild
index 16791d0b40c..50f8274850f 100644
--- a/www-client/chromium/chromium-68.0.3440.106.ebuild
+++ b/www-client/chromium/chromium-68.0.3440.106.ebuild
@@ -583,6 +583,18 @@ src_compile() {
 
        #"${EPYTHON}" tools/clang/scripts/update.py --force-local-build 
--gcc-toolchain /usr --skip-checkout --use-system-cmake --without-android || die
 
+       # Build mksnapshot and pax-mark it.
+       local x
+       for x in mksnapshot v8_context_snapshot_generator; do
+               if tc-is-cross-compiler; then
+                       eninja -C out/Release "host/${x}"
+                       pax-mark m "out/Release/host/${x}"
+               else
+                       eninja -C out/Release "${x}"
+                       pax-mark m "out/Release/${x}"
+               fi
+       done
+
        # Even though ninja autodetects number of CPUs, we respect
        # user's options, for debugging with -j 1 or any other reason.
        eninja -C out/Release chrome chromedriver

diff --git a/www-client/chromium/chromium-68.0.3440.75.ebuild 
b/www-client/chromium/chromium-68.0.3440.75.ebuild
index 8585294049b..3864487463f 100644
--- a/www-client/chromium/chromium-68.0.3440.75.ebuild
+++ b/www-client/chromium/chromium-68.0.3440.75.ebuild
@@ -583,6 +583,18 @@ src_compile() {
 
        #"${EPYTHON}" tools/clang/scripts/update.py --force-local-build 
--gcc-toolchain /usr --skip-checkout --use-system-cmake --without-android || die
 
+       # Build mksnapshot and pax-mark it.
+       local x
+       for x in mksnapshot v8_context_snapshot_generator; do
+               if tc-is-cross-compiler; then
+                       eninja -C out/Release "host/${x}"
+                       pax-mark m "out/Release/host/${x}"
+               else
+                       eninja -C out/Release "${x}"
+                       pax-mark m "out/Release/${x}"
+               fi
+       done
+
        # Even though ninja autodetects number of CPUs, we respect
        # user's options, for debugging with -j 1 or any other reason.
        eninja -C out/Release chrome chromedriver

diff --git a/www-client/chromium/chromium-69.0.3497.42.ebuild 
b/www-client/chromium/chromium-69.0.3497.42.ebuild
index dcee9bd0f1c..c3d05bb2729 100644
--- a/www-client/chromium/chromium-69.0.3497.42.ebuild
+++ b/www-client/chromium/chromium-69.0.3497.42.ebuild
@@ -568,6 +568,18 @@ src_compile() {
 
        #"${EPYTHON}" tools/clang/scripts/update.py --force-local-build 
--gcc-toolchain /usr --skip-checkout --use-system-cmake --without-android || die
 
+       # Build mksnapshot and pax-mark it.
+       local x
+       for x in mksnapshot v8_context_snapshot_generator; do
+               if tc-is-cross-compiler; then
+                       eninja -C out/Release "host/${x}"
+                       pax-mark m "out/Release/host/${x}"
+               else
+                       eninja -C out/Release "${x}"
+                       pax-mark m "out/Release/${x}"
+               fi
+       done
+
        # Even though ninja autodetects number of CPUs, we respect
        # user's options, for debugging with -j 1 or any other reason.
        eninja -C out/Release chrome chromedriver

diff --git a/www-client/chromium/chromium-70.0.3521.2.ebuild 
b/www-client/chromium/chromium-70.0.3521.2.ebuild
index 953d96e54e4..c70f37c2a62 100644
--- a/www-client/chromium/chromium-70.0.3521.2.ebuild
+++ b/www-client/chromium/chromium-70.0.3521.2.ebuild
@@ -573,6 +573,18 @@ src_compile() {
 
        #"${EPYTHON}" tools/clang/scripts/update.py --force-local-build 
--gcc-toolchain /usr --skip-checkout --use-system-cmake --without-android || die
 
+       # Build mksnapshot and pax-mark it.
+       local x
+       for x in mksnapshot v8_context_snapshot_generator; do
+               if tc-is-cross-compiler; then
+                       eninja -C out/Release "host/${x}"
+                       pax-mark m "out/Release/host/${x}"
+               else
+                       eninja -C out/Release "${x}"
+                       pax-mark m "out/Release/${x}"
+               fi
+       done
+
        # Even though ninja autodetects number of CPUs, we respect
        # user's options, for debugging with -j 1 or any other reason.
        eninja -C out/Release chrome chromedriver

Reply via email to