mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
the -pthread flag will expand link option "-latomic" in RISC-V platfrom, so will effectively fix the problem. Closes: https://bugs.gentoo.org/837740 Upstream report: https://trac.filezilla-project.org/ticket/12699 Signed-off-by: Yixun Lan <dlan@gentoo.org>
14 lines
371 B
Diff
14 lines
371 B
Diff
diff --git a/configure.ac b/configure.ac
|
|
index 14bb5d0..da45769 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -120,7 +120,7 @@ AC_CHECK_DECLS([pthread_condattr_setclock], [], [], [[#include <pthread.h>]])
|
|
if test "$windows" = "1"; then
|
|
libdeps="-lws2_32"
|
|
else
|
|
- libdeps=-lpthread
|
|
+ libdeps=-pthread
|
|
CHECK_ICONV([libdeps="$libdeps -liconv"])
|
|
|
|
CHECK_RANDOM
|