mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-10 04:13:45 +00:00
Revert to detecting __GNUCC__ instead of armclang
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
92e8a88390
commit
7d6ec95517
@ -673,13 +673,13 @@
|
||||
#if defined(__thumb__) && !defined(__thumb2__) // Thumb 1 (not Thumb 2) ISA
|
||||
|
||||
// Only supported by gcc, when optimisation is enabled; only Thumb 1 codepath works
|
||||
#if defined(__OPTIMIZE__) && !defined(__ARMCC_VERSION)
|
||||
#if defined(__OPTIMIZE__) && defined(__GNUC__)
|
||||
#define ARM_THUMB_1
|
||||
#endif
|
||||
|
||||
#elif defined(__thumb2__) // Thumb 2 ISA
|
||||
|
||||
#if !defined(__ARMCC_VERSION) && !defined(__OPTIMIZE__)
|
||||
#if defined(__GNUC__) && !defined(__OPTIMIZE__)
|
||||
// gcc -O0: only V6+DSP codepath builds
|
||||
#if (__ARM_ARCH >= 6) && defined (__ARM_FEATURE_DSP) && (__ARM_FEATURE_DSP == 1)
|
||||
#define ARM_V6_DSP
|
||||
|
Loading…
x
Reference in New Issue
Block a user