mirror of
https://github.com/pyodide/pyodide.git
synced 2025-12-03 12:33:40 +00:00
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:
2
Makefile
2
Makefile
@@ -2,7 +2,7 @@ PYODIDE_ROOT=$(abspath .)
|
||||
|
||||
include Makefile.envs
|
||||
|
||||
.PHONY=check
|
||||
.PHONY: check
|
||||
|
||||
CC=emcc
|
||||
CXX=em++
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.PHONY=pyodide-build
|
||||
.PHONY: pyodide-build
|
||||
|
||||
export PYODIDE_ROOT=$(abspath ..)
|
||||
include ../Makefile.envs
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user