aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/markdown/Reference-tables.md1
-rw-r--r--mesonbuild/environment.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md
index 91a8e3c..989e649 100644
--- a/docs/markdown/Reference-tables.md
+++ b/docs/markdown/Reference-tables.md
@@ -55,6 +55,7 @@ set in the cross file.
| parisc | HP PA-RISC processor |
| riscv32 | 32 bit RISC-V Open ISA|
| riscv64 | 64 bit RISC-V Open ISA|
+| sparc | 32 bit SPARC |
| sparc64 | SPARC v9 processor |
Any cpu family not listed in the above list is not guaranteed to
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index a20ef94..df4d05b 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -86,6 +86,7 @@ known_cpu_families = (
'ppc64',
'riscv32',
'riscv64',
+ 'sparc',
'sparc64',
'x86',
'x86_64'