Mercurial > public > mercurial-scm > hg-stable
changeset 52944:1825f5593eb2
makefile: remove COMPILERFLAG (prefer standard env vars)
author | paugier <pierre.augier@univ-grenoble-alpes.fr> |
---|---|
date | Thu, 30 Jan 2025 10:13:07 +0100 |
parents | c124308e3cd4 |
children | e1267940fa2f |
files | Makefile |
diffstat | 1 files changed, 2 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Jan 29 02:27:05 2025 +0100 +++ b/Makefile Thu Jan 30 10:13:07 2025 +0100 @@ -28,13 +28,6 @@ TESTFLAGS ?= $(shell echo $$HGTESTFLAGS) CARGO = cargo -# Set this to e.g. "mingw32" to use a non-default compiler. -COMPILER= - -COMPILERFLAG_tmp_ = -COMPILERFLAG_tmp_${COMPILER} ?= -c $(COMPILER) -COMPILERFLAG=${COMPILERFLAG_tmp_${COMPILER}} - VENV_NAME=$(shell $(PYTHON) -c "import sys; v = sys.version_info; print(f'.venv_{sys.implementation.name}{v.major}.{v.minor}')") PYBINDIRNAME=$(shell $(PYTHON) -c "import os; print('Scripts' if os.name == 'nt' else 'bin')") @@ -70,7 +63,7 @@ .PHONY: build build: - $(PYTHON) setup.py $(PURE) build $(COMPILERFLAG) + $(PYTHON) setup.py $(PURE) build .PHONY: build-chg build-chg: @@ -82,7 +75,7 @@ .PHONY: wheel wheel: - $(PYTHON) setup.py $(PURE) bdist_wheel $(COMPILERFLAG) + $(PYTHON) setup.py $(PURE) bdist_wheel .PHONY: doc doc: