From owner-svn-src-head@FreeBSD.ORG Sat Jul 12 07:47:51 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 59EFFD5C; Sat, 12 Jul 2014 07:47:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47C282A06; Sat, 12 Jul 2014 07:47:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6C7lpCu020201; Sat, 12 Jul 2014 07:47:51 GMT (envelope-from theraven@svn.freebsd.org) Received: (from theraven@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6C7lpYE020200; Sat, 12 Jul 2014 07:47:51 GMT (envelope-from theraven@svn.freebsd.org) Message-Id: <201407120747.s6C7lpYE020200@svn.freebsd.org> From: David Chisnall Date: Sat, 12 Jul 2014 07:47:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268566 - head/usr.bin/users 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.18 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: Sat, 12 Jul 2014 07:47:51 -0000 Author: theraven Date: Sat Jul 12 07:47:50 2014 New Revision: 268566 URL: http://svnweb.freebsd.org/changeset/base/268566 Log: Turn off exceptions and rtti when building the c++ version of users. Neither is used in the program and this saves us 10KB (around 40%) in binary size. Modified: head/usr.bin/users/Makefile Modified: head/usr.bin/users/Makefile ============================================================================== --- head/usr.bin/users/Makefile Sat Jul 12 07:46:18 2014 (r268565) +++ head/usr.bin/users/Makefile Sat Jul 12 07:47:50 2014 (r268566) @@ -3,5 +3,6 @@ WARNS= 3 PROG_CXX= users +CXXFLAGS+= -fno-rtti -fno-exceptions .include