Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 1 | From: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= <remi@remlab.net> |
2 | Date: Sat, 16 Jun 2018 21:31:45 +0300 | ||||
3 | Subject: configure: fix linking on RISC-V ISA | ||||
4 | |||||
5 | Upstream-status: Pending | ||||
6 | --- | ||||
7 | configure.ac | 1 + | ||||
8 | 1 file changed, 1 insertion(+) | ||||
9 | |||||
10 | --- a/configure.ac | ||||
11 | +++ b/configure.ac | ||||
12 | @@ -113,6 +113,7 @@ case "${host_os}" in | ||||
13 | ;; | ||||
14 | linux*) | ||||
15 | SYS=linux | ||||
16 | + test "${host_cpu}" = "riscv64" && CFLAGS="${CFLAGS} -pthread" | ||||
17 | ;; | ||||
18 | bsdi*) | ||||
19 | SYS=bsdi |