:: commit 1a7736b29567d5e846edbc1eac315f4f0a872723

mintsuki <mintsuki@protonmail.com> — 2021-04-09 00:52

parents: c3481e12cc

build: Fix wrong variable used on 'which' invocation in decompressor Makefile

diff --git a/decompressor/Makefile b/decompressor/Makefile
index 5de15065..5890d050 100644
--- a/decompressor/Makefile
+++ b/decompressor/Makefile
@@ -12,7 +12,7 @@ TOOLCHAIN_OBJCOPY = $(TOOLCHAIN)-objcopy
 ifeq ($(shell which $(TOOLCHAIN_CC)), )
 TOOLCHAIN_CC := gcc
 endif
-ifeq ($(shell which $(OBJCOPY)), )
+ifeq ($(shell which $(TOOLCHAIN_OBJCOPY)), )
 TOOLCHAIN_OBJCOPY := objcopy
 endif
 
tab: 248 wrap: offon