fix: update .PHONY typo in Makefiles (#5957)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
SongYoungUk
2025-10-18 22:13:04 +09:00
committed by GitHub
parent c0beb41dc8
commit e5aff6655d
4 changed files with 6 additions and 10 deletions

View File

@@ -2,7 +2,7 @@ PYODIDE_ROOT=$(abspath .)
include Makefile.envs
.PHONY=check
.PHONY: check
CC=emcc
CXX=em++

View File

@@ -28,7 +28,7 @@ libffi: $(PYINSTALL)/lib/libffi.a
libhiwire: $(PYINSTALL)/lib/libhiwire.a
.PHONY=sysconfigdata
.PHONY: sysconfigdata
sysconfigdata:
# Generate sysconfigdata. It outputs into a subfolder of build/, and
# the subfolder is written to pybuilddir.txt.
@@ -57,13 +57,13 @@ $(PYINSTALL)/lib/$(PYLIB): $(PYBUILD)/$(PYLIB) sysconfigdata $(PYBUILD)/.patched
cp $(PYBUILD)/$(PYLIB) $(PYINSTALL)/lib/
.PHONY=rebuild
.PHONY: rebuild
rebuild: sysconfigdata
CFLAGS="$(CFLAGS_BASE)" emmake make -C $(PYBUILD) CROSS_COMPILE=yes inclinstall libinstall $(PYLIB) -j $${PYODIDE_JOBS:-3}
cp $(PYBUILD)/$(PYLIB) $(PYINSTALL)/lib/
.PHONY=rebuild-all
.PHONY: rebuild-all
rebuild-all:
# touching abstract.h is enough to force most stuff to be rebuilt...
touch $(PYBUILD)/Include/abstract.h

View File

@@ -1,4 +1,4 @@
.PHONY=pyodide-build
.PHONY: pyodide-build
export PYODIDE_ROOT=$(abspath ..)
include ../Makefile.envs

View File

@@ -55,11 +55,7 @@ export function makeGlobalsProxy(
// If thisArg is a GlobalsProxy it may break APIs that expect the receiver
// to be unmodified. Unwrap any GlobalsProxy before making the call.
thisArg = thisArg?.[getObject] ?? thisArg;
return Reflect.apply(
target,
thisArg,
argumentList,
);
return Reflect.apply(target, thisArg, argumentList);
},
getPrototypeOf() {
// @ts-ignore