Commit 3257e94
committed
Use getrandom syscall on riscv32/riscv64 linux
Minimum kernel needed on RISCV is fairly new (4.15+) so we are sure
to have getrandom syscall, on glibc there is mimimal ABI kernel to denote
it but musl does not have any other way to indicate it, so add it
as a condition here to choose getrandom backend for rv32/rv64 on linux
when using musl.
Signed-off-by: Khem Raj <raj.khem@gmail.com>1 parent 03ec647 commit 3257e94
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
104 | 110 | | |
105 | 111 | | |
106 | 112 | | |
| |||
0 commit comments