Commit: ade4017293ecf191a87ef5ea2a3f75b41da1b3d2
Author: Luca Rood
Date:   Sat Feb 9 16:58:52 2019 +1100
Branches: master
https://developer.blender.org/rBade4017293ecf191a87ef5ea2a3f75b41da1b3d2

GNUmakefile: fix deps directory

`uname -p` is unknown on some distros, use posix standard `uname -m`.

===================================================================

M       GNUmakefile

===================================================================

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

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to