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). (found by Benoit Lecocq).
* Fix bug in Makefile that caused libmbedcrypto and libmbedx509 not to be * Fix bug in Makefile that caused libmbedcrypto and libmbedx509 not to be
installed (found by Rawi666). installed (found by Rawi666).
* Fix compile error with armcc 5 with --gnu option.
= mbed TLS 2.0.0 released 2015-07-13 = mbed TLS 2.0.0 released 2015-07-13

View File

@ -46,7 +46,8 @@
#define asm __asm #define asm __asm
#endif #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__) #if defined(__i386__)
#define MULADDC_INIT \ #define MULADDC_INIT \