Commit | Line | Data |
---|---|---|
f7e141d0 FF |
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 |