Use COMPILER0 to derive the mk basename

This commit is contained in:
pancake 2021-12-17 01:20:45 +01:00
parent aa7af78946
commit 8e2dad3b75
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ endif
MKPLUGINS=mk/stat.mk mk/sloc.mk
USERCC=@USERCC@
COMPILER=$(shell basename ${USERCC})
COMPILER0=$(shell echo "${USERCC}" | awk '{print $$1}')
COMPILER=$(shell basename ${COMPILER0})
DEBUGGER=@DEBUGGER@
INSTALL_DIR=@INSTALL_DIR@