diff mbox series

config.mak.uname: remove unused uname_P variable

Message ID 0d132370-3e07-4332-bcfb-c4450100d736@ramsayjones.plus.com (mailing list archive)
State Accepted
Commit 220adb16e453dffea23ab92a86092e594f7729db
Headers show
Series config.mak.uname: remove unused uname_P variable | expand

Commit Message

Ramsay Jones July 18, 2024, 1:13 a.m. UTC
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>
---
 config.mak.uname | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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)),)