fix(wasm): fixed CC in makefile

This commit is contained in:
alina 🌸 2023-11-04 22:42:37 +03:00
parent 3415f2ae3f
commit 1c60082d61
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI

View file

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