Update CPS2 patches to 2001/07/11, and disable optimization by default.

PR:		29409
Submitted by:	maintainer
This commit is contained in:
Jimmy Olgeni 2001-08-03 13:21:21 +00:00
parent 9260af5d27
commit 762a3f8d80
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45773
2 changed files with 14 additions and 9 deletions

View file

@ -92,12 +92,10 @@ ALLDOCS= ${GENERALDOCS} ${PINMAMEDOCS}
# CPS-2 patches - this enables extra games in MAME.
.if ${MAMEMESS} == "mame"
.if defined(WITH_CPS2) && ${WITH_CPS2} == "yes"
# CPS2VERSION= 20010527
CPS2VERSION= 20010711
# PATCH_SITES+= http://www.win.tue.nl/~stijn/xmame/
# PATCHFILES+= ${DISTNAME}-cps2-${CPS2VERSION}.patch.gz
pre-everything::
@${ECHO_MSG} "===> Warning: CPS2 patches temporarily unavailable"
PATCH_SITES+= http://www.win.tue.nl/~stijn/xmame/
PATCHFILES+= ${DISTNAME}-cps2-${CPS2VERSION}.patch.gz
.else
pre-everything::
@${ECHO_MSG} "===> If you want to compile MAME with CPS-2 support, use \"make WITH_CPS2=yes\""
@ -143,12 +141,19 @@ ASM_COMMENT=
ASM_COMMENT=\#
.endif
# Heavy optimization - enabled by default because it doesn't seem
# to break things, and enables considerable speedup.
.if !defined(WITH_OPTIMIZATION) || ${WITH_OPTIMIZATION} != "no"
# Heavy optimization - disabled by default because it breaks things. It's
# still available because it enables considerable speedup.
.if defined(WITH_OPTIMIZATION) && ${WITH_OPTIMIZATION} == "yes"
CFLAGS+= -O3 -Wall -Wno-unused -funroll-loops \
-fstrength-reduce -fomit-frame-pointer -ffast-math \
-malign-functions=4 -malign-jumps=4 -malign-loops=4
.else
.if !defined(WITH_OPTIMIZATION)
pre-everything::
@${ECHO_MSG} "===> If you want to enable high optimization levels, use "
@${ECHO_MSG} " \"make WITH_OPTIMIZATION=yes\". Be warned that this is known to"
@${ECHO_MSG} " break some games though."
.endif
.endif
# Choose one of several display targets:

View file

@ -4,5 +4,5 @@ MD5 (xmame/xmame-0.37b16.1.tar.bz2) = 07c2d333f56f4d06b2c28315670612bb
MD5 (xmame/cheat.zip) = dc380436c04780950cee07d3e31bfb0b
MD5 (xmame/history.zip) = 69da5c33e6a78092c6cd75cbeb737c6a
MD5 (xmame/hsdat7.zip) = 9e4a7e36448895f13128a675327e34e4
MD5 (xmame/xmame-0.37b15.1-cps2-20010527.patch.gz) = 2f469fd33150fae1e871dfb8b5964b53
MD5 (xmame/xmame-0.37b16.1-cps2-20010711.patch.gz) = 2c64e9ab3fc49b9c7adea1e97001c126
MD5 (xmame/xmame-0.37b14.2-pinmame-0.99b3.patch.gz) = aeefd4f6593d389cddbb7081cfc4eb42