Skip to content
Snippets Groups Projects
Commit 3859e8ee authored by Markus Gothe's avatar Markus Gothe Committed by John Crispin
Browse files

rules.mk: Update ccache's compiler check.


Update the compiler check for ccache so we don't
end up with the wrong binaries. Right now the
compiler check will not be able to correctly
distinguish the compiler used for build
ARMv8 binaries from the one used to build
ARMv7 binaries.

Signed-off-by: default avatarMarkus Gothe <markus.gothe@genexis.eu>

Link: https://github.com/openwrt/openwrt/pull/16290


Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
parent 1f119121
No related branches found
No related tags found
No related merge requests found
......@@ -346,7 +346,7 @@ ifneq ($(CONFIG_CCACHE),)
export CCACHE_NOCOMPRESS:=true
export CCACHE_BASEDIR:=$(TOPDIR)
export CCACHE_DIR:=$(if $(call qstrip,$(CONFIG_CCACHE_DIR)),$(call qstrip,$(CONFIG_CCACHE_DIR)),$(TOPDIR)/.ccache)
export CCACHE_COMPILERCHECK:=%compiler% -dumpmachine; %compiler% -dumpversion
export CCACHE_COMPILERCHECK:=%compiler% -v -c
endif
TARGET_CONFIGURE_OPTS = \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment