svn commit: r275151 - projects/clang350-import/sys/conf
Dimitry Andric
dim at FreeBSD.org
Wed Nov 26 23:28:16 UTC 2014
Author: dim
Date: Wed Nov 26 23:28:16 2014
New Revision: 275151
URL: https://svnweb.freebsd.org/changeset/base/275151
Log:
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.
Modified:
projects/clang350-import/sys/conf/Makefile.arm
Modified: projects/clang350-import/sys/conf/Makefile.arm
==============================================================================
--- projects/clang350-import/sys/conf/Makefile.arm Wed Nov 26 23:07:54 2014 (r275150)
+++ projects/clang350-import/sys/conf/Makefile.arm Wed Nov 26 23:28:16 2014 (r275151)
@@ -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.
More information about the svn-src-projects
mailing list