From 7212dea0ffc350fd601331fb7fb212a0de93160d Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Wed, 10 Jul 2019 22:24:51 +0000
Subject: [PATCH] Don't clobber SRC_ROOT

---
 src/encode/GNUmakefile | 2 +-
 src/hash/GNUmakefile   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/encode/GNUmakefile b/src/encode/GNUmakefile
index 7db817a13a..d11984414a 100644
--- a/src/encode/GNUmakefile
+++ b/src/encode/GNUmakefile
@@ -3,7 +3,7 @@
 # Macros
 #DEBUG	=	1				# Comment out for release (non-debug) version
 
-SRC_ROOT = ..
+SRC_ROOT ?= ..
 # Cross platform/compiler definitions
 include $(SRC_ROOT)/build/Common.gmake	# defines clean and output directory rules
 
diff --git a/src/hash/GNUmakefile b/src/hash/GNUmakefile
index f78b185034..afcf5df7c9 100644
--- a/src/hash/GNUmakefile
+++ b/src/hash/GNUmakefile
@@ -3,7 +3,7 @@
 # Macros
 #DEBUG	=	1				# Comment out for release (non-debug) version
 
-SRC_ROOT = ..
+SRC_ROOT ?= ..
 # Cross platform/compiler definitions
 include $(SRC_ROOT)/build/Common.gmake	# defines clean and output directory rules
 
-- 
GitLab