diff --git a/driver/configure/Makefile.inc.in b/driver/configure/Makefile.inc.in index 15c7d5bd16..ad46d2249e 100644 --- a/driver/configure/Makefile.inc.in +++ b/driver/configure/Makefile.inc.in @@ -3,7 +3,7 @@ MODULE_MAKEFILE_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST)))) # Run the module build.sh (wrapper for make) script with an empty environment, # but pass PATH, KERNELDIR and eventually (if set) CC and KBUILD_MODPOST_WARN. # The latter ones are used by driverkit build templates. -HAS_@CONFIGURE_MODULE@ := $(shell env -i CC=$(CC) KBUILD_MODPOST_WARN=$(KBUILD_MODPOST_WARN) PATH="$(PATH)" KERNELDIR="$(KERNELDIR)" sh $(MODULE_MAKEFILE_DIR)/build.sh ; echo $$?) +HAS_@CONFIGURE_MODULE@ := $(shell env -i CC="$(CC)" KBUILD_MODPOST_WARN="$(KBUILD_MODPOST_WARN)" PATH="$(PATH)" KERNELDIR="$(KERNELDIR)" sh $(MODULE_MAKEFILE_DIR)/build.sh ; echo $$?) ifeq ($(HAS_@CONFIGURE_MODULE@),0) $(info [configure-kmod] Setting HAS_@CONFIGURE_MODULE@ flag)