* add libb2 as dep * remove "-Wl,--large-address-aware", default now via makepkg * remove 2to3 logic, no longer in Python
34 lines
962 B
Diff
34 lines
962 B
Diff
From 7517bbcc20e4336ddbdeda9ce4bd883c9dfe066e Mon Sep 17 00:00:00 2001
|
|
From: Christoph Reiter <reiter.christoph@gmail.com>
|
|
Date: Sun, 1 Aug 2021 18:35:17 +0200
|
|
Subject: [PATCH 060/N] configure.ac: don't check for clock_ functions
|
|
|
|
They shouldn't be exposed on Windows and lead to winpthread being linked in
|
|
---
|
|
configure.ac | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 49273c9..e121e05 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -5820,6 +5820,9 @@ AC_CHECK_FUNCS([setpgrp],
|
|
# check for namespace functions
|
|
AC_CHECK_FUNCS([setns unshare])
|
|
|
|
+case $host in
|
|
+ *-*-mingw*) ;;
|
|
+ *)
|
|
AC_CHECK_FUNCS([clock_gettime], [], [
|
|
AC_CHECK_LIB([rt], [clock_gettime], [
|
|
LIBS="$LIBS -lrt"
|
|
@@ -5846,6 +5849,8 @@ then
|
|
])
|
|
])
|
|
fi
|
|
+ ;;
|
|
+esac
|
|
|
|
# On Android before API level 23, clock_nanosleep returns the wrong value when
|
|
# interrupted by a signal (https://issuetracker.google.com/issues/216495770).
|