tinycrypt: make asm optimizations optional for baremetal
Disable asm optimizations for strict armcc baremetal builds. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
db0e50ea70
commit
b04208151b
2 changed files with 3 additions and 6 deletions
|
@ -71,10 +71,6 @@
|
|||
#include "mbedtls/platform_util.h"
|
||||
|
||||
#if defined MBEDTLS_OPTIMIZE_TINYCRYPT_ASM
|
||||
#ifdef __CC_ARM
|
||||
#pragma diag_suppress 667 // strict diagnostic: "asm" function is nonstandard
|
||||
#endif
|
||||
|
||||
#ifndef asm
|
||||
#define asm __asm
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue