aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/Makefile')
-rw-r--r--build-root/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-root/Makefile b/build-root/Makefile
index b62a671d58f..b529acb5b12 100644
--- a/build-root/Makefile
+++ b/build-root/Makefile
@@ -667,7 +667,7 @@ MAKE_PARALLEL_FLAGS ?= $(if $($(PACKAGE)_make_parallel_fails),,-j $(MAKE_PARALLE
# Make command shorthand for packages & tools.
PACKAGE_MAKE = \
- $(MAKE) \
+ $(MAKE) CC=$(CC) \
-C $(PACKAGE_BUILD_DIR) \
$($(PACKAGE)_make_args) \
$(MAKE_PARALLEL_FLAGS)