diff --git a/lang/python/python/files/python-package.mk b/lang/python/python/files/python-package.mk index 0805fc9c2..1b82352c1 100644 --- a/lang/python/python/files/python-package.mk +++ b/lang/python/python/files/python-package.mk @@ -132,8 +132,10 @@ define PyBuild/Compile/Default ) endef +PyBuild/Compile=$(PyBuild/Compile/Default) + ifeq ($(BUILD_VARIANT),python) define Build/Compile - $(call PyBuild/Compile/Default) + $(call PyBuild/Compile) endef endif # python diff --git a/lang/python/python3/files/python3-package.mk b/lang/python/python3/files/python3-package.mk index 36a030c02..22ee527a1 100644 --- a/lang/python/python3/files/python3-package.mk +++ b/lang/python/python3/files/python3-package.mk @@ -132,8 +132,10 @@ define Py3Build/Compile/Default ) endef +Py3Build/Compile=$(Py3Build/Compile/Default) + ifeq ($(BUILD_VARIANT),python3) define Build/Compile - $(call Py3Build/Compile/Default) + $(call Py3Build/Compile) endef endif # python3