diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm index e2ee825e7da9..178500172ae6 100644 --- a/sys/conf/Makefile.arm +++ b/sys/conf/Makefile.arm @@ -41,6 +41,9 @@ CC += -mbig-endian SYSTEM_LD += -EB .endif +.if !defined(DEBUG) +CFLAGS += -mno-apcs-frame +.endif %BEFORE_DEPEND %OBJS