Fix compile error with armcc5 --gnu

This commit is contained in:
Manuel Pégourié-Gonnard 2015-07-30 22:46:55 +02:00
parent 6fb8187279
commit e96ce08a21
2 changed files with 3 additions and 1 deletions

View file

@ -12,6 +12,7 @@ Bugfix
(found by Benoit Lecocq).
* Fix bug in Makefile that caused libmbedcrypto and libmbedx509 not to be
installed (found by Rawi666).
* Fix compile error with armcc 5 with --gnu option.
= mbed TLS 2.0.0 released 2015-07-13

View file

@ -46,7 +46,8 @@
#define asm __asm
#endif
#if defined(__GNUC__)
/* armcc5 --gnu defined __GNUC__ but doesn't support GNU's extended asm */
#if defined(__GNUC__) && !defined(__ARMCC_VERSION)
#if defined(__i386__)
#define MULADDC_INIT \