From owner-freebsd-arch Sun Jul 8 19:11:39 2001 Delivered-To: freebsd-arch@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id C481437B405 for ; Sun, 8 Jul 2001 19:11:35 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id EAA55033; Mon, 9 Jul 2001 04:11:34 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: arch@freebsd.org Subject: -fno-builtin From: Dag-Erling Smorgrav Date: 09 Jul 2001 04:11:34 +0200 Message-ID: Lines: 9 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-=-= 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