Bug 1879656: add support for OpenBSD/riscv64 in xpcom r=glandium DONTBUILD

reuse the linux files, they just work on OpenBSD

Differential Revision: https://phabricator.services.mozilla.com/D201318
This commit is contained in:
Jeremie Courreges-Anglas
2024-02-14 21:28:25 +00:00
parent 5a1d76e5e0
commit fea4b15c7e

View File

@@ -259,7 +259,7 @@ if CONFIG["OS_ARCH"] == "Linux":
"-fno-integrated-as",
]
if CONFIG["OS_ARCH"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64":
if CONFIG["OS_ARCH"] in ("Linux", "OpenBSD") and CONFIG["TARGET_CPU"] == "riscv64":
SOURCES += [
"xptcinvoke_asm_riscv64.S",
"xptcinvoke_riscv64.cpp",