fix(wasm): added option for custom compiler in makefile

also rebuilt .wasm with appleclang
This commit is contained in:
alina 🌸 2023-11-04 20:52:46 +03:00
parent 317d49eefe
commit 0a7979a986
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI
2 changed files with 1 additions and 1 deletions

View file

@ -35,7 +35,7 @@ SOURCES = utils.c \
$(if $(filter 1, $(IGE_API)), crypto/ige256.c) \
$(if $(filter 1, $(CTR_API)), crypto/ctr256.c)
CC := clang
CC ?= clang
CFLAGS_WASM := \
-target wasm32-unknown-unknown \
-nostdlib -ffreestanding -DFREESTANDING \

Binary file not shown.