diff options
author | agc <agc> | 2002-09-25 13:21:59 +0000 |
---|---|---|
committer | agc <agc> | 2002-09-25 13:21:59 +0000 |
commit | 676e1fc82d2064a794f12194127124c443589075 (patch) | |
tree | c92501c27387f6be6e1f804124be9dec6ae1d741 | |
parent | f282c646f9de11a6280402108d6a118c778b1298 (diff) | |
download | pkgsrc-676e1fc82d2064a794f12194127124c443589075.tar.gz |
Bring forward the mod from 1.21 of games/crafty/Makefile to the 1.6
pkgsrc branch.
Requested by Dan McMahill.
Portability mod: on NetBSD/sparc, reduce the level of optimisation.
-rw-r--r-- | games/crafty/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/games/crafty/Makefile b/games/crafty/Makefile index fbd6ab5e2ab..b6d7a52aaaf 100644 --- a/games/crafty/Makefile +++ b/games/crafty/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2002/01/12 05:48:15 jlam Exp $ +# $NetBSD: Makefile,v 1.19.8.1 2002/09/25 13:21:59 agc Exp $ DISTNAME= crafty-18.13 CATEGORIES= games @@ -31,6 +31,8 @@ ALL_TARGET= netbsd-i386 .endif .elif ${MACHINE_ARCH} == "sparc" ALL_TARGET= netbsd-sparc +# higher levels of optimization cause crafty to immediately segfault +CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O1/} .else ALL_TARGET= netbsd .endif |