From: Simon Schubert Date: Sat, 7 May 2005 18:02:35 +0000 (+0000) Subject: Make hack compile with gcc40: Remove previously deprecated, now X-Git-Tag: v2.0.1~7459 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/79362cffeb18803c865c0df65edada70bf8c67f9?ds=sidebyside Make hack compile with gcc40: Remove previously deprecated, now unsupported option -fwritable-strings. This might break hack in some way, though a quick check didn't show anything. Takers for cleaning this code? --- diff --git a/games/hack/Makefile b/games/hack/Makefile index e6a7ce9bd6..30adc58967 100644 --- a/games/hack/Makefile +++ b/games/hack/Makefile @@ -1,6 +1,6 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD: src/games/hack/Makefile,v 1.20.2.4 2002/08/07 16:31:41 ru Exp $ -# $DragonFly: src/games/hack/Makefile,v 1.3 2004/03/22 20:57:31 dillon Exp $ +# $DragonFly: src/games/hack/Makefile,v 1.4 2005/05/07 18:02:35 corecode Exp $ PROG= hack SRCS= alloc.c hack.Decl.c hack.apply.c hack.bones.c hack.c hack.cmd.c \ @@ -18,7 +18,7 @@ SRCS= alloc.c hack.Decl.c hack.apply.c hack.bones.c hack.c hack.cmd.c \ MAN= hack.6 DPADD= ${LIBTERMCAP} ${LIBCOMPAT} LDADD= -ltermcap -lcompat -CFLAGS+= -fwritable-strings -I${.CURDIR} -I. +CFLAGS+= -I${.CURDIR} -I. FILES= rumors help hh data FILESMODE_rumors= 440 FILESGRP= ${BINGRP}