From owner-svn-src-head@FreeBSD.ORG Sun Feb 10 17:58:46 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0B554469; Sun, 10 Feb 2013 17:58:46 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id D99D4A68; Sun, 10 Feb 2013 17:58:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1AHwjKj054157; Sun, 10 Feb 2013 17:58:45 GMT (envelope-from cperciva@svn.freebsd.org) Received: (from cperciva@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1AHwjJ7054156; Sun, 10 Feb 2013 17:58:45 GMT (envelope-from cperciva@svn.freebsd.org) Message-Id: <201302101758.r1AHwjJ7054156@svn.freebsd.org> From: Colin Percival Date: Sun, 10 Feb 2013 17:58:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r246627 - head/usr.sbin/named X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 17:58:46 -0000 Author: cperciva Date: Sun Feb 10 17:58:44 2013 New Revision: 246627 URL: http://svnweb.freebsd.org/changeset/base/246627 Log: Don't try to suppress the inclusion of the build date in named's version string by undefining __DATE__, since (unlike gcc) clang doesn't allow us to do that. Instead, define NO_VERSION_DATE, which was helpfully added to the named source code for exactly this purpose. Modified: head/usr.sbin/named/Makefile Modified: head/usr.sbin/named/Makefile ============================================================================== --- head/usr.sbin/named/Makefile Sun Feb 10 17:50:56 2013 (r246626) +++ head/usr.sbin/named/Makefile Sun Feb 10 17:58:44 2013 (r246627) @@ -48,7 +48,7 @@ CFLAGS+= -I${SRCDIR}/unix/include -I${SR CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include # Remove the date stamp to make it more obvious when real changes happen -CFLAGS+= -U__DATE__ +CFLAGS+= -DNO_VERSION_DATE WARNS?= 0