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.
This commit is contained in:
2
Makefile
2
Makefile
@@ -28,7 +28,7 @@ ifeq ($(VERSION),$(SVERSION))
|
|||||||
else
|
else
|
||||||
RELEASE = untagged
|
RELEASE = untagged
|
||||||
endif
|
endif
|
||||||
ARCH = $(uname -i)
|
ARCH = $(uname -m)
|
||||||
SPEC = rpmbuild/SPECS/$(PROGRAM).spec
|
SPEC = rpmbuild/SPECS/$(PROGRAM).spec
|
||||||
SOURCE = rpmbuild/SOURCES/$(PROGRAM)-$(VERSION).tar.bz2
|
SOURCE = rpmbuild/SOURCES/$(PROGRAM)-$(VERSION).tar.bz2
|
||||||
SRPM = rpmbuild/SRPMS/$(PROGRAM)-$(VERSION)-$(RELEASE).src.rpm
|
SRPM = rpmbuild/SRPMS/$(PROGRAM)-$(VERSION)-$(RELEASE).src.rpm
|
||||||
|
|||||||
Reference in New Issue
Block a user