Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit bb06abe

Browse files
committed
Do not use the v8's embedded toolchain to compile it
This was causing issues (#227) due to the build system falling back to an old version of binutils.
1 parent ea5e8c2 commit bb06abe

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

ext/libv8/builder.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ def gyp_defines(*defines)
2929
# Do not use an external snapshot as we don't really care for binary size
3030
defines << 'v8_use_external_startup_data=0'
3131

32-
# Do not use the GPLv3 ld.gold binary on Linux
33-
#defines << 'linux_use_bundled_gold=0'
32+
# Do not use the embedded toolchain
33+
defines << 'use_sysroot=0'
34+
defines << 'linux_use_bundled_binutils=0'
35+
defines << 'linux_use_bundled_gold=0'
36+
defines << 'make_clang_dir=""'
37+
defines << 'clang_dir=""'
3438

3539
# Pass clang flag to GYP in order to work around GCC compilation failures
3640
defines << "clang=#{@compiler.is_a?(Compiler::Clang) ? '1' : '0'}"

0 commit comments

Comments
 (0)