diff options
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gcc/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 91c32b509..3176831e9 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -111,8 +111,8 @@ ifneq ($(ADK_TARGET_FPU),) GCC_CONFOPTS+= --with-fpu=$(ADK_TARGET_FPU) endif -ifeq ($(ADK_TARGET_ARCH_ARM_WITH_THUMB),y) -GCC_CONFOPTS+= --with-mode=thumb +ifneq ($(ADK_TARGET_INSTRUCTION_SET),) +GCC_CONFOPTS+= --with-mode=$(ADK_TARGET_INSTRUCTION_SET) endif ifeq ($(ADK_TARGET_ARCH_METAG),y) |