summaryrefslogtreecommitdiffstats
path: root/config.mak.uname
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsayjones.plus.com>2024-07-18 03:13:25 +0200
committerJunio C Hamano <gitster@pobox.com>2024-07-18 16:01:39 +0200
commit220adb16e453dffea23ab92a86092e594f7729db (patch)
treeff7f90ea4e0eb46fcb4ddccebc2ad73921d914db /config.mak.uname
parentMakefile: drop -Wno-universal-initializer from SP_EXTRA_FLAGS (diff)
downloadgit-220adb16e453dffea23ab92a86092e594f7729db.tar.xz
git-220adb16e453dffea23ab92a86092e594f7729db.zip
config.mak.uname: remove unused uname_P variable
The uname_P make variable was added in commit e15f545155 ("Makefile tweaks: Solaris 9+ dont need iconv / move up uname variables", 2006-02-20), but it seems to never have been used (even in that original commit). The man page for 'uname' notes that the '-p' processor option is non-portable (the 'uname_M' variable is used by the Makefile for that purpose). Remove the unused 'uname_P' make variable. Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.mak.uname')
-rw-r--r--config.mak.uname1
1 files changed, 0 insertions, 1 deletions
diff --git a/config.mak.uname b/config.mak.uname
index 85d63821ec..aa0fd26bd5 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -8,7 +8,6 @@ uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo not')
uname_R := $(shell sh -c 'uname -r 2>/dev/null || echo not')
-uname_P := $(shell sh -c 'uname -p 2>/dev/null || echo not')
uname_V := $(shell sh -c 'uname -v 2>/dev/null || echo not')
ifneq ($(findstring MINGW,$(uname_S)),)