svn commit: r304234 - stable/11/lib/clang

Dimitry Andric dim at FreeBSD.org
Tue Aug 16 18:56:57 UTC 2016


Author: dim
Date: Tue Aug 16 18:56:56 2016
New Revision: 304234
URL: https://svnweb.freebsd.org/changeset/base/304234

Log:
  Similar to r256297, disable assertions in llvm and clang for the
  stable/11 branch.  This reduces the size of the clang executable, and
  improves its performance.  Also bump FREEBSD_CC_VERSION to make some
  version number room for the branch.

Modified:
  stable/11/lib/clang/clang.build.mk
  stable/11/lib/clang/freebsd_cc_version.h

Modified: stable/11/lib/clang/clang.build.mk
==============================================================================
--- stable/11/lib/clang/clang.build.mk	Tue Aug 16 18:32:01 2016	(r304233)
+++ stable/11/lib/clang/clang.build.mk	Tue Aug 16 18:56:56 2016	(r304234)
@@ -8,7 +8,7 @@ CFLAGS+=	-I${LLVM_SRCS}/include -I${CLAN
 		-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 \

Modified: stable/11/lib/clang/freebsd_cc_version.h
==============================================================================
--- stable/11/lib/clang/freebsd_cc_version.h	Tue Aug 16 18:32:01 2016	(r304233)
+++ stable/11/lib/clang/freebsd_cc_version.h	Tue Aug 16 18:56:56 2016	(r304234)
@@ -1,3 +1,3 @@
 /* $FreeBSD$ */
 
-#define	FREEBSD_CC_VERSION		1100004
+#define	FREEBSD_CC_VERSION		1100500


More information about the svn-src-stable mailing list