1 |
commit: 652323790c612d914c7ea0176ebf8be9fcdf33e6 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 30 03:07:12 2019 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 30 03:07:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=65232379 |
7 |
|
8 |
arch: Set -mcpu=ultrasparc on 32-bit sparc as well |
9 |
|
10 |
glibc doesn't really support older than UltraSPARC (v9), so the build |
11 |
fails without this. Similarly, the Linux kernel doesn't support anything |
12 |
older than v9. |
13 |
|
14 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
15 |
|
16 |
catalyst/arch/sparc.py | 2 +- |
17 |
1 file changed, 1 insertion(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/catalyst/arch/sparc.py b/catalyst/arch/sparc.py |
20 |
index 0308fb3b..d0ce8c65 100644 |
21 |
--- a/catalyst/arch/sparc.py |
22 |
+++ b/catalyst/arch/sparc.py |
23 |
@@ -18,7 +18,7 @@ class arch_sparc(generic_sparc): |
24 |
"builder class for generic sparc (32-bit userland)" |
25 |
def __init__(self,myspec): |
26 |
generic_sparc.__init__(self,myspec) |
27 |
- self.settings["COMMON_FLAGS"]="-O2 -pipe" |
28 |
+ self.settings["COMMON_FLAGS"]="-O2 -mcpu=ultrasparc -pipe" |
29 |
self.settings["CHOST"]="sparc-unknown-linux-gnu" |
30 |
|
31 |
class arch_sparc64(generic_sparc64): |