crypto/mbedtls: disable optimize on sim platform
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
7f67ee8c88
commit
7cc325ae83
@ -38,6 +38,12 @@ MBEDTLS_UNPACKPROGDIR = $(MBEDTLS_UNPACKNAME)$(DELIM)programs
|
|||||||
# This lets Mbed TLS better use some of the POSIX features we have
|
# This lets Mbed TLS better use some of the POSIX features we have
|
||||||
CFLAGS += ${DEFINE_PREFIX}__unix__
|
CFLAGS += ${DEFINE_PREFIX}__unix__
|
||||||
|
|
||||||
|
library/bignum.c_CFLAGS += -fno-lto
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_ARCH_SIM),y)
|
||||||
|
CFLAGS += -O0
|
||||||
|
endif
|
||||||
|
|
||||||
CSRCS = $(wildcard $(MBEDTLS_UNPACKLIBDIR)$(DELIM)*.c)
|
CSRCS = $(wildcard $(MBEDTLS_UNPACKLIBDIR)$(DELIM)*.c)
|
||||||
|
|
||||||
$(MBEDTLS_ZIP):
|
$(MBEDTLS_ZIP):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user