forked from avocado-framework-tests/avocado-misc-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uname -p is not portable - should use uname -m to retrieve machine name in user code Signed-off-by: Thierry <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- Makefile.orig 2020-01-09 18:35:13.509293580 +0100 | ||
+++ Makefile 2020-01-09 18:33:49.723976623 +0100 | ||
@@ -89,7 +89,7 @@ | ||
|
||
## OS detection. Comment out if gmake syntax not supported by other 'make'. | ||
OSNAME:=$(shell uname -s) | ||
- ARCH := $(shell uname -p) | ||
+ ARCH := $(shell uname -m) | ||
ifeq ($(OSNAME),Linux) | ||
# Not all CPU architectures support "-march" or "-march=native". | ||
# - Supported : x86, x86_64, ARM, AARCH64, etc.. |