diff --git a/C/SRC/Makefile b/C/SRC/Makefile index 234d9a81..74f117e3 100644 --- a/C/SRC/Makefile +++ b/C/SRC/Makefile @@ -68,9 +68,10 @@ else ifneq ($(shell ../../Shell/truename -q "$(PWD)"), $(shell ../../Shell/truen endif # Identify the OS and processor, and generate an output base directory name from that +needed_before_using_distrib := $(shell chmod +x ../../Shell/distrib) ifeq "$(OS)" "" # If $(OS) is undefined or empty OS := $(shell uname -s) - PROC := $(shell uname -p) + PROC := $(shell ../../Shell/distrib processor)# Don't just use uname -p, which is unreliable MACHINE := $(shell uname -m) ifeq "$(OS)" "OSF1" ifeq "$(MACHINE)" "alpha" diff --git a/C/SysLib/Makefile b/C/SysLib/Makefile index 25bdffc8..4a7d620c 100644 --- a/C/SysLib/Makefile +++ b/C/SysLib/Makefile @@ -60,9 +60,10 @@ else ifneq ($(shell ../../Shell/truename -q "$(PWD)"), $(shell ../../Shell/truen endif # Identify the OS and processor, and generate an output base directory name from that +needed_before_using_distrib := $(shell chmod +x ../../Shell/distrib) ifeq "$(OS)" "" # If $(OS) is undefined or empty OS := $(shell uname -s) - PROC := $(shell uname -p) + PROC := $(shell ../../Shell/distrib processor)# Don't just use uname -p, which is unreliable MACHINE := $(shell uname -m) ifeq "$(OS)" "OSF1" ifeq "$(MACHINE)" "alpha"