FreeBSD Bugzilla – Attachment 220175 Details for
Bug 251534
devel/nspr: allow build on riscv64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
new file files/patch-pr_include_md___freebsd.h
nspr_new_file.diff (text/plain), 575 bytes, created by
Mark Linimon
on 2020-12-02 16:19:52 UTC
(
hide
)
Description:
new file files/patch-pr_include_md___freebsd.h
Filename:
MIME Type:
Creator:
Mark Linimon
Created:
2020-12-02 16:19:52 UTC
Size:
575 bytes
patch
obsolete
>Index: files/patch-pr_include_md___freebsd.h >=================================================================== >0a1,13 >> --- pr/include/md/_freebsd.h.orig 2020-12-02 15:07:03 UTC >> +++ pr/include/md/_freebsd.h >> @@ -37,6 +37,10 @@ >> #define _PR_SI_ARCHITECTURE "mips64" >> #elif defined(__mips__) >> #define _PR_SI_ARCHITECTURE "mips" >> +#elif defined(__riscv) && (__riscv_xlen == 32) >> +#define _PR_SI_ARCHITECTURE "riscv32" >> +#elif defined(__riscv) && (__riscv_xlen == 64) >> +#define _PR_SI_ARCHITECTURE "riscv64" >> #else >> #error "Unknown CPU architecture" >> #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 251534
:
220174
| 220175 |
220176