diff --git a/py/mkrules.mk b/py/mkrules.mk index 6ac731b368b07..5b7520a1d3b26 100644 --- a/py/mkrules.mk +++ b/py/mkrules.mk @@ -250,7 +250,7 @@ ifneq ($(PROG),) # Windows, i.e. msvc or mingw builds, but not when using msys or cygwin's gcc. COMPILER_TARGET := $(shell $(CC) -dumpmachine) ifneq (,$(findstring mingw,$(COMPILER_TARGET))) -PROG := $(PROG).exe +override PROG := $(PROG).exe endif all: $(BUILD)/$(PROG)