13 lines
569 B
Diff
13 lines
569 B
Diff
diff -rupN a/mesonbuild/environment.py b/mesonbuild/environment.py
|
|
--- a/mesonbuild/environment.py 2023-05-25 18:13:46.720486238 +0300
|
|
+++ b/mesonbuild/environment.py 2023-05-25 18:16:39.768615325 +0300
|
|
@@ -373,6 +373,8 @@ def detect_cpu(compilers: CompilersDict)
|
|
elif trial == 'e2k':
|
|
# Make more precise CPU detection for Elbrus platform.
|
|
trial = platform.processor().lower()
|
|
+ elif trial == 'sparc':
|
|
+ trial = platform.processor().lower()
|
|
elif trial.startswith('mips'):
|
|
if '64' not in trial:
|
|
trial = 'mips'
|