From c05700a90462fb145647f907c7661a6fdfb35f58 Mon Sep 17 00:00:00 2001 From: Simon Schubert Date: Sat, 7 May 2005 18:33:25 +0000 Subject: [PATCH] Fix compilation with gcc40: Remove -fwritable-strings from CFLAGS. --- games/larn/Makefile | 4 ++-- games/rogue/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/games/larn/Makefile b/games/larn/Makefile index 1a7de2f229..b4000c4282 100644 --- a/games/larn/Makefile +++ b/games/larn/Makefile @@ -1,6 +1,6 @@ # @(#)Makefile 5.12 (Berkeley) 5/30/93 # $FreeBSD: src/games/larn/Makefile,v 1.6.2.5 2002/08/07 16:31:42 ru Exp $ -# $DragonFly: src/games/larn/Makefile,v 1.2 2003/06/17 04:25:24 dillon Exp $ +# $DragonFly: src/games/larn/Makefile,v 1.3 2005/05/07 18:33:25 corecode Exp $ # EXTRA # Incorporates code to gather additional performance statistics @@ -55,7 +55,7 @@ PROG= larn MAN= larn.6 -CFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE -fwritable-strings +CFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE SRCS= main.c object.c create.c tok.c display.c global.c data.c io.c \ monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \ signal.c moreobj.c movem.c regen.c fortune.c savelev.c diff --git a/games/rogue/Makefile b/games/rogue/Makefile index 57d7eb4212..56eb86fa5d 100644 --- a/games/rogue/Makefile +++ b/games/rogue/Makefile @@ -1,9 +1,9 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD: src/games/rogue/Makefile,v 1.4.2.5 2002/08/07 16:31:42 ru Exp $ -# $DragonFly: src/games/rogue/Makefile,v 1.2 2003/06/17 04:25:24 dillon Exp $ +# $DragonFly: src/games/rogue/Makefile,v 1.3 2005/05/07 18:33:25 corecode Exp $ PROG= rogue -CFLAGS+=-DUNIX -fwritable-strings +CFLAGS+=-DUNIX SRCS= hit.c init.c inventory.c level.c machdep.c main.c \ message.c monster.c move.c object.c pack.c play.c random.c ring.c \ room.c save.c score.c spec_hit.c throw.c trap.c use.c zap.c -- 2.41.0