Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 5e37afa

Browse files
brgavinoBrandon Gavino
andauthored
Ensure llvm builds don't use libc++ (#554)
* Ensure winarm64 builds don't use libc++ * Update build-win.py * Update build-win.py Co-authored-by: Brandon Gavino <[email protected]>
1 parent 7c4f48e commit 5e37afa

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

scripts/build-win.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,21 @@
3232
'enable_libaom=true',
3333
'rtc_build_examples=false',
3434
'treat_warnings_as_errors=false',
35-
]
35+
]
3636

3737

3838
def gngen(arch, ssl_root, msdk_root, quic_root, scheme, tests):
3939
gn_args = list(GN_ARGS)
4040
gn_args.append('target_cpu="%s"' % arch)
41-
if arch != 'arm64':
41+
using_llvm = False
42+
if arch == 'arm64':
43+
using_llvm = True
44+
if not using_llvm:
4245
gn_args.append('is_clang=false')
46+
else:
47+
gn_args.append('libcxx_abi_unstable=false')
48+
gn_args.append('use_custom_libcxx_for_host=false')
49+
gn_args.append('use_custom_libcxx=false')
4350
if scheme == 'release':
4451
gn_args.append('is_debug=false')
4552
else:

0 commit comments

Comments
 (0)