From 4e00c784105764cd58ea01ad24767d080d3f3e0f Mon Sep 17 00:00:00 2001 From: Joe Julian Date: Tue, 30 Aug 2016 11:55:45 -0700 Subject: [PATCH] Change "uname -i" to "uname -m" to be portable According to the documentation for uname: -m, --machine print the machine hardware name -i, --hardware-platform print the hardware platform (non-portable) So use the portable -m version. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1a223799..8fa48c20 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ ifeq ($(VERSION),$(SVERSION)) else RELEASE = untagged endif -ARCH = $(uname -i) +ARCH = $(uname -m) SPEC = rpmbuild/SPECS/$(PROGRAM).spec SOURCE = rpmbuild/SOURCES/$(PROGRAM)-$(VERSION).tar.bz2 SRPM = rpmbuild/SRPMS/$(PROGRAM)-$(VERSION)-$(RELEASE).src.rpm