Skip to content

Commit 23dd375

Browse files
committed
workaround
1 parent 2b874d7 commit 23dd375

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

centos-8/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ RUN gclient sync --nohooks -D --force --reset && \
2323
gclient sync --revision ${version}
2424

2525
# Workaround for GCC-8 bug
26-
RUN sed -i.bak 's|tuple()|tuple{}|g' src/compiler/turboshaft/operations.h
26+
RUN \
27+
sed -i.bak 's|tuple()|tuple{}|g' src/compiler/turboshaft/operations.h &&\
28+
sed -i.bak 's|::v8::base::kUnreachableCodeMessage|"unreachable code"|g' src/base/logging.h
29+
2730

2831
RUN gn gen ${target} -vv --fail-on-unused-args \
2932
--args='v8_monolithic=true \
@@ -33,7 +36,7 @@ RUN gn gen ${target} -vv --fail-on-unused-args \
3336
is_asan=false \
3437
use_gold=false \
3538
is_debug=false \
36-
is_official_build=true \
39+
is_official_build=false \
3740
treat_warnings_as_errors=false \
3841
v8_enable_i18n_support=false \
3942
v8_use_external_startup_data=false \

0 commit comments

Comments
 (0)