diff options
author | dim <dim@FreeBSD.org> | 2016-08-17 07:07:29 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2016-08-17 07:07:29 +0000 |
commit | c8b953a67e30c0dd7b7de030618d193916ace69a (patch) | |
tree | 77fc5a756c48b4e2787a9e7e399d4cc30d0d1083 /lib | |
parent | b38c18fe680be7086c69c99b8087ccfbdc78acb4 (diff) | |
download | FreeBSD-src-c8b953a67e30c0dd7b7de030618d193916ace69a.zip FreeBSD-src-c8b953a67e30c0dd7b7de030618d193916ace69a.tar.gz |
Similar to r256297, disable assertions in llvm and clang for the
releng/11.0 branch. This reduces the size of the clang executable, and
improves its performance. Also bump FREEBSD_CC_VERSION.
Approved by: re (gjb)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/clang/clang.build.mk | 2 | ||||
-rw-r--r-- | lib/clang/freebsd_cc_version.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk index a2ee0a5..ae068d2 100644 --- a/lib/clang/clang.build.mk +++ b/lib/clang/clang.build.mk @@ -8,7 +8,7 @@ CFLAGS+= -I${LLVM_SRCS}/include -I${CLANG_SRCS}/include \ -I${LLVM_SRCS}/${SRCDIR} ${INCDIR:C/^/-I${LLVM_SRCS}\//} -I. \ -I${LLVM_SRCS}/../../lib/clang/include \ -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD \ - -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS #-DNDEBUG + -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG .if ${MK_CLANG_FULL} != "no" CFLAGS+= -DCLANG_ENABLE_ARCMT \ diff --git a/lib/clang/freebsd_cc_version.h b/lib/clang/freebsd_cc_version.h index 0f13792..01aa1a6 100644 --- a/lib/clang/freebsd_cc_version.h +++ b/lib/clang/freebsd_cc_version.h @@ -1,3 +1,3 @@ /* $FreeBSD$ */ -#define FREEBSD_CC_VERSION 1100004 +#define FREEBSD_CC_VERSION 1100005 |