diff options
author | mrg <mrg@NetBSD.org> | 2006-05-11 23:16:28 +0000 |
---|---|---|
committer | mrg <mrg@NetBSD.org> | 2006-05-11 23:16:28 +0000 |
commit | c1afd48ba482a93e1cac5d70fbee7ad04e7b139e (patch) | |
tree | 37157c455607b74c10c2ba159d998df96d5a4060 /bcd | |
parent | fd7d7ad818aabc89daff7701812f9ce68c076b9e (diff) | |
download | bsdgames-darwin-c1afd48ba482a93e1cac5d70fbee7ad04e7b139e.tar.gz bsdgames-darwin-c1afd48ba482a93e1cac5d70fbee7ad04e7b139e.tar.zst bsdgames-darwin-c1afd48ba482a93e1cac5d70fbee7ad04e7b139e.zip |
sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
Diffstat (limited to 'bcd')
-rw-r--r-- | bcd/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bcd/Makefile b/bcd/Makefile index 5b3237f2..677c2b37 100644 --- a/bcd/Makefile +++ b/bcd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 1995/03/21 15:08:10 cgd Exp $ +# $NetBSD: Makefile,v 1.5 2006/05/11 23:16:28 mrg Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= bcd @@ -8,3 +8,6 @@ HIDEGAME=hidegame .include <bsd.prog.mk> +.if ${HAVE_GCC} == 4 +COPTS+= -Wno-pointer-sign +.endif |