mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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:
@@ -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}"
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user