Skip site navigation (1)Skip section navigation (2)
Date:      09 Jul 2001 04:11:34 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        arch@freebsd.org
Subject:   -fno-builtin
Message-ID:  <xzpn16eonqh.fsf@flood.ping.uio.no>

next in thread | raw e-mail | index | archive | help
--=-=-=

I'd like to commit the attached patch, which adds -fno-builtin to
CFLAGS when WARNS is set.  Any objections?

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=builtin.diff

Index: bsd.sys.mk
===================================================================
RCS file: /home/ncvs/src/share/mk/bsd.sys.mk,v
retrieving revision 1.3
diff -u -r1.3 bsd.sys.mk
--- bsd.sys.mk	2001/05/19 23:32:19	1.3
+++ bsd.sys.mk	2001/07/09 02:01:57
@@ -12,7 +12,7 @@
 CFLAGS		+=	-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
 # XXX Delete -Wuninitialized by default for now -- the compiler doesn't
 # XXX always get it right.
-CFLAGS		+=	-Wno-uninitialized
+CFLAGS		+=	-Wno-uninitialized -fno-builtin
 .   if !defined(NO_WERROR)
 CFLAGS		+=	-Werror
 .   endif

--=-=-=--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpn16eonqh.fsf>