fix(wasm): fixed CC in makefile
This commit is contained in:
parent
3415f2ae3f
commit
1c60082d61
1 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,9 @@ SOURCES = utils.c \
|
||||||
$(if $(filter 1, $(IGE_API)), crypto/ige256.c) \
|
$(if $(filter 1, $(IGE_API)), crypto/ige256.c) \
|
||||||
$(if $(filter 1, $(CTR_API)), crypto/ctr256.c)
|
$(if $(filter 1, $(CTR_API)), crypto/ctr256.c)
|
||||||
|
|
||||||
CC ?= clang
|
WASM_CC ?= clang
|
||||||
|
CC := $(WASM_CC)
|
||||||
|
|
||||||
CFLAGS_WASM := \
|
CFLAGS_WASM := \
|
||||||
-target wasm32-unknown-unknown \
|
-target wasm32-unknown-unknown \
|
||||||
-nostdlib -ffreestanding -DFREESTANDING \
|
-nostdlib -ffreestanding -DFREESTANDING \
|
||||||
|
|
Loading…
Reference in a new issue