build: Work around issue with disabling built-in rules and variables on older GNU make
diff --git a/GNUmakefile.in b/GNUmakefile.in
index 44f3b6b8..f291c88f 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -1,4 +1,5 @@
-override MAKEFLAGS += -rR
+MAKEFLAGS += -rR
+.SUFFIXES:
override MAKEVER_MAJOR := $(shell echo $(MAKE_VERSION) | cut -f1 -d.)
override MAKEVER_MINOR := $(shell echo $(MAKE_VERSION) | cut -f2 -d.)
diff --git a/common/common.mk b/common/common.mk
index 621acb52..2639bd8f 100644
--- a/common/common.mk
+++ b/common/common.mk
@@ -1,4 +1,5 @@
-override MAKEFLAGS += -rR
+MAKEFLAGS += -rR
+.SUFFIXES:
include $(TOOLCHAIN_FILE)
export CC_FOR_TARGET
diff --git a/decompressor/decompressor.mk b/decompressor/decompressor.mk
index 79095a22..d988b199 100644
--- a/decompressor/decompressor.mk
+++ b/decompressor/decompressor.mk
@@ -1,4 +1,5 @@
-override MAKEFLAGS += -rR
+MAKEFLAGS += -rR
+.SUFFIXES:
include $(TOOLCHAIN_FILE)
export CC_FOR_TARGET
