Since for clang 3.5.0 ARM EHABI is now the default, the -mllvm
-arm-enable-ehabi flag is no longer supported. Use it only for older versions of clang.
This commit is contained in:
parent
10b16cca63
commit
5d9e9016ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/clang350-import/; revision=275151
@ -47,8 +47,10 @@ CFLAGS.clang += -mfpu=none
|
||||
|
||||
.if !empty(DDB_ENABLED)
|
||||
CFLAGS += -funwind-tables
|
||||
# clang requires us to tell it to emit assembly with unwind information
|
||||
CFLAGS.clang += -mllvm -arm-enable-ehabi
|
||||
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 30500
|
||||
# clang < 3.5.0 requires us to tell it to emit assembly with unwind information
|
||||
CFLAGS += -mllvm -arm-enable-ehabi
|
||||
.endif
|
||||
.endif
|
||||
|
||||
# hack because genassym.c includes sys/bus.h which includes these.
|
||||
|
Loading…
Reference in New Issue
Block a user