Skip to content

Commit e5aff66

Browse files
fix: update .PHONY typo in Makefiles (pyodide#5957)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent c0beb41 commit e5aff66

4 files changed

Lines changed: 6 additions & 10 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PYODIDE_ROOT=$(abspath .)
22

33
include Makefile.envs
44

5-
.PHONY=check
5+
.PHONY: check
66

77
CC=emcc
88
CXX=em++

cpython/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ libffi: $(PYINSTALL)/lib/libffi.a
2828

2929
libhiwire: $(PYINSTALL)/lib/libhiwire.a
3030

31-
.PHONY=sysconfigdata
31+
.PHONY: sysconfigdata
3232
sysconfigdata:
3333
# Generate sysconfigdata. It outputs into a subfolder of build/, and
3434
# the subfolder is written to pybuilddir.txt.
@@ -57,13 +57,13 @@ $(PYINSTALL)/lib/$(PYLIB): $(PYBUILD)/$(PYLIB) sysconfigdata $(PYBUILD)/.patched
5757
cp $(PYBUILD)/$(PYLIB) $(PYINSTALL)/lib/
5858

5959

60-
.PHONY=rebuild
60+
.PHONY: rebuild
6161
rebuild: sysconfigdata
6262
CFLAGS="$(CFLAGS_BASE)" emmake make -C $(PYBUILD) CROSS_COMPILE=yes inclinstall libinstall $(PYLIB) -j $${PYODIDE_JOBS:-3}
6363
cp $(PYBUILD)/$(PYLIB) $(PYINSTALL)/lib/
6464

6565

66-
.PHONY=rebuild-all
66+
.PHONY: rebuild-all
6767
rebuild-all:
6868
# touching abstract.h is enough to force most stuff to be rebuilt...
6969
touch $(PYBUILD)/Include/abstract.h

packages/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY=pyodide-build
1+
.PHONY: pyodide-build
22

33
export PYODIDE_ROOT=$(abspath ..)
44
include ../Makefile.envs

src/js/snapshot.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,7 @@ export function makeGlobalsProxy(
5555
// If thisArg is a GlobalsProxy it may break APIs that expect the receiver
5656
// to be unmodified. Unwrap any GlobalsProxy before making the call.
5757
thisArg = thisArg?.[getObject] ?? thisArg;
58-
return Reflect.apply(
59-
target,
60-
thisArg,
61-
argumentList,
62-
);
58+
return Reflect.apply(target, thisArg, argumentList);
6359
},
6460
getPrototypeOf() {
6561
// @ts-ignore

0 commit comments

Comments
 (0)