File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ _decimal _decimal/_decimal.c _decimal/libmpdec/basearith.c _decimal/libmpdec/con
4040# ctypes module - flags and sources derived from pyodide
4141# https://github.com/pyodide/pyodide/blob/main/cpython/Setup.local#L22-L23
4242CTYPES_FLAGS=-DHAVE_FFI_PREP_CIF_VAR=1 -DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1
43- _ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/cfield.c _ctypes/stgdict.c $(CTYPES_FLAGS) -L/usr/local/faasm/llvm-sysroot/lib/wasm32-wasi - lffi
43+ _ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/cfield.c _ctypes/stgdict.c $(CTYPES_FLAGS) -lffi
4444
4545# Hashing support - build statically as pyodide does
4646# https://github.com/pyodide/pyodide/blob/main/cpython/Setup.local#L37-L42
Original file line number Diff line number Diff line change @@ -1765,10 +1765,10 @@ PyInit_time(void)
17651765#if defined(HAVE_CLOCK_GETTIME ) || defined(HAVE_CLOCK_SETTIME ) || defined(HAVE_CLOCK_GETRES )
17661766
17671767#ifdef CLOCK_REALTIME
1768- PyModule_AddIntMacro (m , CLOCK_REALTIME );
1768+ PyModule_AddIntMacro (m , ( long ) CLOCK_REALTIME );
17691769#endif
17701770#ifdef CLOCK_MONOTONIC
1771- PyModule_AddIntMacro (m , CLOCK_MONOTONIC );
1771+ PyModule_AddIntMacro (m , ( long ) CLOCK_MONOTONIC );
17721772#endif
17731773#ifdef CLOCK_MONOTONIC_RAW
17741774 PyModule_AddIntMacro (m , CLOCK_MONOTONIC_RAW );
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ case $maybe_os in
118118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd* -gnu* | \
119119 knetbsd* -gnu* | netbsd* -gnu* | netbsd* -eabi* | \
120120 kopensolaris* -gnu* | cloudabi* -eabi* | \
121- storm-chaos* | os2-emx* | rtmk-nova* | wasi )
121+ storm-chaos* | os2-emx* | rtmk-nova* | wasi* )
122122 os=-$maybe_os
123123 basic_machine=` echo " $1 " | sed ' s/^\(.*\)-\([^-]*-[^-]*\)$/\1/' `
124124 ;;
You can’t perform that action at this time.
0 commit comments