[nostalgia] Ensure setup_build.py uses Python 3

This commit is contained in:
Gary Talent 2021-01-29 20:13:07 -06:00
parent 17ead36d2f
commit bc8d50f3e7

View File

@ -119,32 +119,32 @@ configure-release:
ifneq (,$(wildcard build/${HOST_ENV}-release)) ifneq (,$(wildcard build/${HOST_ENV}-release))
${ENV_RUN} ${RM_RF} build/${HOST_ENV}-release ${ENV_RUN} ${RM_RF} build/${HOST_ENV}-release
endif endif
${ENV_RUN} python ./scripts/setup-build.py ${HOST_ENV} release ${VCPKG_DIR} ${ENV_RUN} python3 ./scripts/setup-build.py ${HOST_ENV} release ${VCPKG_DIR}
.PHONY: configure-debug .PHONY: configure-debug
configure-debug: configure-debug:
ifneq (,$(wildcard build/${HOST_ENV}-debug)) ifneq (,$(wildcard build/${HOST_ENV}-debug))
${ENV_RUN} ${RM_RF} build/${HOST_ENV}-debug ${ENV_RUN} ${RM_RF} build/${HOST_ENV}-debug
endif endif
${ENV_RUN} python ./scripts/setup-build.py ${HOST_ENV} debug ${VCPKG_DIR} ${ENV_RUN} python3 ./scripts/setup-build.py ${HOST_ENV} debug ${VCPKG_DIR}
.PHONY: configure-asan .PHONY: configure-asan
configure-asan: configure-asan:
ifneq (,$(wildcard build/${HOST_ENV}-asan)) ifneq (,$(wildcard build/${HOST_ENV}-asan))
${ENV_RUN} ${RM_RF} build/${HOST_ENV}-asan ${ENV_RUN} ${RM_RF} build/${HOST_ENV}-asan
endif endif
${ENV_RUN} python ./scripts/setup-build.py ${HOST_ENV} asan ${VCPKG_DIR} ${ENV_RUN} python3 ./scripts/setup-build.py ${HOST_ENV} asan ${VCPKG_DIR}
.PHONY: configure-gba .PHONY: configure-gba
configure-gba: configure-gba:
ifneq (,$(wildcard build/gba-release)) ifneq (,$(wildcard build/gba-release))
${ENV_RUN} ${RM_RF} build/gba-release ${ENV_RUN} ${RM_RF} build/gba-release
endif endif
${ENV_RUN} python ./scripts/setup-build.py gba release ${VCPKG_DIR} ${ENV_RUN} python3 ./scripts/setup-build.py gba release ${VCPKG_DIR}
.PHONY: configure-gba-debug .PHONY: configure-gba-debug
configure-gba-debug: configure-gba-debug:
ifneq (,$(wildcard build/gba-debug)) ifneq (,$(wildcard build/gba-debug))
${ENV_RUN} ${RM_RF} build/gba-debug ${ENV_RUN} ${RM_RF} build/gba-debug
endif endif
${ENV_RUN} python ./scripts/setup-build.py gba debug ${VCPKG_DIR} ${ENV_RUN} python3 ./scripts/setup-build.py gba debug ${VCPKG_DIR}