The -mno-apcs-frame argument is unavaliable on clang, also ignore it there.

This commit is contained in:
Andrew Turner 2013-03-17 00:56:17 +00:00
parent 943c3bb968
commit b1d3e6da67
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248400

View File

@ -44,7 +44,7 @@ CFLAGS += -mno-thumb-interwork
.endif
.if empty(DDB_ENABLED)
.if !defined(WITH_ARM_EABI)
.if !defined(WITH_ARM_EABI) && ${COMPILER_TYPE} != "clang"
CFLAGS += -mno-apcs-frame
.endif
.elif defined(WITH_ARM_EABI)