chiark / gitweb /
apache2: update from 2.4.26 to 2.4.27
[termux-packages] / packages / git / config.mak.uname.patch
1 Set uname_S to Linux instead of detecting build machine.
2 Android does not support -lrt.
3
4 diff -u -r ../git-2.10.0/config.mak.uname ./config.mak.uname
5 --- ../git-2.10.0/config.mak.uname      2016-09-02 21:59:09.000000000 -0400
6 +++ ./config.mak.uname  2016-09-03 17:27:41.964893344 -0400
7 @@ -1,6 +1,6 @@
8  # Platform specific Makefile tweaks based on uname detection
9  
10 -uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
11 +uname_S := Linux
12  uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
13  uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo not')
14  uname_R := $(shell sh -c 'uname -r 2>/dev/null || echo not')
15 @@ -36,8 +36,6 @@
16         HAVE_DEV_TTY = YesPlease
17         HAVE_CLOCK_GETTIME = YesPlease
18         HAVE_CLOCK_MONOTONIC = YesPlease
19 -       # -lrt is needed for clock_gettime on glibc <= 2.16
20 -       NEEDS_LIBRT = YesPlease
21         HAVE_GETDELIM = YesPlease
22         SANE_TEXT_GREP=-a
23  endif