svn commit: r268566 - head/usr.bin/users
David Chisnall
theraven at FreeBSD.org
Sat Jul 12 07:47:51 UTC 2014
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 <bsd.prog.mk>
More information about the svn-src-head
mailing list