www-client/chromium: fix PaX kernel build

In M134 `code_cache_generator` was added to the build process.
This needs to be `pax-mark`ed for builds to complete successfully.

Closes: https://bugs.gentoo.org/959502
Suggested-by: Guillaume Ceccarelli <guillaume@gcs-ventures.com>
Signed-off-by: Matt Jolly <kangie@gentoo.org>
This commit is contained in:
Matt Jolly
2025-07-16 10:19:49 +10:00
parent 5b01af16d8
commit 16fe96ce1d
4 changed files with 4 additions and 4 deletions

View File

@@ -1240,7 +1240,7 @@ chromium_compile() {
# Build mksnapshot and pax-mark it.
if use pax-kernel; then
local x
for x in mksnapshot v8_context_snapshot_generator; do
for x in mksnapshot v8_context_snapshot_generator code_cache_generator; do
if tc-is-cross-compiler; then
eninja -C out/Release "host/${x}"
pax-mark m "out/Release/host/${x}"

View File

@@ -1240,7 +1240,7 @@ chromium_compile() {
# Build mksnapshot and pax-mark it.
if use pax-kernel; then
local x
for x in mksnapshot v8_context_snapshot_generator; do
for x in mksnapshot v8_context_snapshot_generator code_cache_generator; do
if tc-is-cross-compiler; then
eninja -C out/Release "host/${x}"
pax-mark m "out/Release/host/${x}"

View File

@@ -1240,7 +1240,7 @@ chromium_compile() {
# Build mksnapshot and pax-mark it.
if use pax-kernel; then
local x
for x in mksnapshot v8_context_snapshot_generator; do
for x in mksnapshot v8_context_snapshot_generator code_cache_generator; do
if tc-is-cross-compiler; then
eninja -C out/Release "host/${x}"
pax-mark m "out/Release/host/${x}"

View File

@@ -1239,7 +1239,7 @@ chromium_compile() {
# Build mksnapshot and pax-mark it.
if use pax-kernel; then
local x
for x in mksnapshot v8_context_snapshot_generator; do
for x in mksnapshot v8_context_snapshot_generator code_cache_generator; do
if tc-is-cross-compiler; then
eninja -C out/Release "host/${x}"
pax-mark m "out/Release/host/${x}"