Skip to content
Snippets Groups Projects
Commit ade40172 authored by Luca Rood's avatar Luca Rood Committed by Campbell Barton
Browse files

GNUmakefile: fix deps directory

`uname -p` is unknown on some distros, use posix standard `uname -m`.
parent 7262ac62
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment