Don't disable builtins for GCC.

This commit is contained in:
joerg 2011-12-05 22:40:21 +00:00
parent e641655573
commit bc33260ee1
2 changed files with 3 additions and 9 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.28 2011/11/26 15:54:43 dholland Exp $
# $NetBSD: Makefile,v 1.29 2011/12/05 22:40:21 joerg Exp $
DISTNAME= bootstrap-mk-files-20111126
DISTNAME= bootstrap-mk-files-20111205
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.own.mk.in,v 1.2 2007/08/25 09:33:57 rillig Exp $
# $NetBSD: bsd.own.mk.in,v 1.3 2011/12/05 22:40:22 joerg Exp $
.if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1
@ -129,12 +129,6 @@ OBJECT_FMT?=ELF
OBJECT_FMT?=a.out
.endif
.if ${CC:M*gcc*} != ""
.if ${MACHINE_ARCH} == "x86_64"
CFLAGS+=-Wno-format -fno-builtin
.endif
.endif
# Location of the file that contains the major and minor numbers of the
# version of a shared library. If this file exists a shared library
# will be built by <bsd.lib.mk>.