mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 1747773 - Build NSS with clang's integrated assembler on x86_64. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D134742
This commit is contained in:
parent
3a214de2f6
commit
0160eb2a59
@ -96,6 +96,14 @@ gyp_vars["use_system_sqlite"] = 1
|
||||
gyp_vars["sqlite_libs"] = "sqlite"
|
||||
gyp_vars["enable_draft_hpke"] = 1
|
||||
|
||||
# Clang can build NSS with its integrated assembler since version 9.
|
||||
if (
|
||||
CONFIG["CPU_ARCH"] == "x86_64"
|
||||
and CONFIG["CC_TYPE"] == "clang"
|
||||
and int(CONFIG["CC_VERSION"].split(".")[0]) >= 9
|
||||
):
|
||||
gyp_vars["force_integrated_as"] = 1
|
||||
|
||||
|
||||
if CONFIG["MOZ_SYSTEM_NSPR"]:
|
||||
gyp_vars["nspr_include_dir"] = "%" + CONFIG["NSPR_INCLUDE_DIR"]
|
||||
|
Loading…
Reference in New Issue
Block a user