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 /dab | |
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 'dab')
-rw-r--r-- | dab/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dab/Makefile b/dab/Makefile index d135ee25..f1b7fe97 100644 --- a/dab/Makefile +++ b/dab/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2005/08/09 02:38:32 christos Exp $ +# $NetBSD: Makefile,v 1.5 2006/05/11 23:16:28 mrg Exp $ WARNS=3 DPADD+=${LIBCURSES} ${LIBTERMCAP} ${LIBM} @@ -9,4 +9,10 @@ MAN=dab.6 SRCS=algor.cc board.cc main.cc human.cc box.cc player.cc gamescreen.cc \ ttyscrn.cc random.cc +.include <bsd.own.mk> + +.if ${HAVE_GCC} == 4 +NOGCCERROR=1 +.endif + .include <bsd.prog.mk> |