diff options
Diffstat (limited to 'sys/conf/Makefile.arm')
-rw-r--r-- | sys/conf/Makefile.arm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm index 82b39f863dec..51659677ef8c 100644 --- a/sys/conf/Makefile.arm +++ b/sys/conf/Makefile.arm @@ -44,10 +44,10 @@ CFLAGS += -mno-thumb-interwork .endif .if empty(DDB_ENABLED) -.if defined(WITHOUT_ARM_EABI) && ${COMPILER_TYPE} != "clang" +.if MK_ARM_EABI == "no" && ${COMPILER_TYPE} == "gcc" CFLAGS += -mno-apcs-frame .endif -.elif !defined(WITHOUT_ARM_EABI) +.elif MK_ARM_EABI != "no" CFLAGS += -funwind-tables .if ${COMPILER_TYPE} == "clang" # clang requires us to tell it to emit assembly with unwind information |