]> git.ipfire.org Git - thirdparty/git.git/commitdiff
config.mak.uname: remove unused uname_P variable
authorRamsay Jones <ramsay@ramsayjones.plus.com>
Thu, 18 Jul 2024 01:13:25 +0000 (02:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Jul 2024 14:01:39 +0000 (07:01 -0700)
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>
config.mak.uname

index 85d63821ec95f65d78a726bae70abcb8c3845ab8..aa0fd26bd5305e19ce827b34ce9c6b539fedb844 100644 (file)
@@ -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)),)