diff options
author | Luca Rood <dev@lucarood.com> | 2019-02-09 08:58:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-09 09:00:57 +0300 |
commit | ade4017293ecf191a87ef5ea2a3f75b41da1b3d2 (patch) | |
tree | f69e8581b7af767c0af7f0d48c4d29d6462283f6 /GNUmakefile | |
parent | 7262ac6202eb9258293473f35a24f375f9d6f635 (diff) |
GNUmakefile: fix deps directory
`uname -p` is unknown on some distros, use posix standard `uname -m`.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 21183220b80..c8e7e5a7d20 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -28,7 +28,7 @@ # System Vars OS:=$(shell uname -s) OS_NCASE:=$(shell uname -s | tr '[A-Z]' '[a-z]') -# CPU:=$(shell uname -m) # UNUSED +CPU:=$(shell uname -m) # Source and Build DIR's @@ -55,7 +55,7 @@ ifndef DEPS_INSTALL_DIR ifneq ($(OS_NCASE),darwin) # Add processor type to directory name - DEPS_INSTALL_DIR:=$(DEPS_INSTALL_DIR)_$(shell uname -p) + DEPS_INSTALL_DIR:=$(DEPS_INSTALL_DIR)_$(CPU) endif endif |