File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ SECP256K1_SRC := deps/secp256k1/src/ecmult_static_pre_context.h
99
1010CFLAGS_MBEDTLS := ${CFLAGS_LLVM} -fPIC -Os -fno-builtin-printf -nostdinc -nostdlib -nostartfiles -fvisibility=hidden -fdata-sections -ffunction-sections -I deps/ckb-c-stdlib -I deps/ckb-c-stdlib/molecule -I deps/ckb-c-stdlib/libc -I deps/mbedtls/include -g
1111LDFLAGS_MBEDTLS := -Wl,-static -Wl,--gc-sections
12- PASSED_MBEDTLS_CFLAGS := ${CFLAGS_LLVM} -Os -fPIC -nostdinc -nostdlib -DCKB_DECLARATION_ONLY -I ../../ckb-c-stdlib/libc -fdata-sections -ffunction-sections
12+ PASSED_MBEDTLS_CFLAGS := ${CFLAGS_LLVM} -Os -fPIC -nostdinc -nostdlib -DCKB_DECLARATION_ONLY -I ../../ckb-c-stdlib/libc -I ../../ - fdata-sections -ffunction-sections -Wno-error=implicit-function-declaration
1313
1414CFLAGS_BLST := -fno-builtin-printf -Ideps/blst/bindings $(subst ckb-c-stdlib,ckb-c-stdlib-202106,$(CFLAGS))
1515CKB_VM_CLI := ckb-vm-b-cli
@@ -124,8 +124,8 @@ build/simple_udt: c/simple_udt.c
124124
125125
126126deps/mbedtls/library/libmbedcrypto.a:
127- cp deps/mbedtls-config-template.h deps/mbedtls/include/mbedtls/config .h
128- make -C deps/mbedtls/library CC=${CC} LD=${LD} CFLAGS="${PASSED_MBEDTLS_CFLAGS}" libmbedcrypto.a
127+ cp deps/mbedtls-config-template.h deps/mbedtls/include/mbedtls/mbedtls_config .h
128+ make -C deps/mbedtls/library CC=${CC} LD=${LD} CFLAGS="${PASSED_MBEDTLS_CFLAGS}" PYTHON=echo libmbedcrypto.a
129129
130130build/impl.o: deps/ckb-c-stdlib/libc/src/impl.c
131131 $(CC) -c $(filter-out -DCKB_DECLARATION_ONLY, $(CFLAGS_MBEDTLS)) $(LDFLAGS_MBEDTLS) -o $@ $^
You can’t perform that action at this time.
0 commit comments