summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-04-30 09:22:55 +0000
committerkris <kris@FreeBSD.org>2001-04-30 09:22:55 +0000
commit5cea27a7b8da65092eac197559a2a876c31ac755 (patch)
tree52e23aa13011d0f62effe5676fd1d59874e0b494 /emulators
parentba41d8f2e8e364dbdfe70251a66e86cff193a60f (diff)
downloadFreeBSD-ports-5cea27a7b8da65092eac197559a2a876c31ac755.zip
FreeBSD-ports-5cea27a7b8da65092eac197559a2a876c31ac755.tar.gz
Don't hard-code -O3 and about 20 -f optimizations
Diffstat (limited to 'emulators')
-rw-r--r--emulators/gnuboy/files/patch-configure.in19
1 files changed, 17 insertions, 2 deletions
diff --git a/emulators/gnuboy/files/patch-configure.in b/emulators/gnuboy/files/patch-configure.in
index 26fc4a3..298afeb 100644
--- a/emulators/gnuboy/files/patch-configure.in
+++ b/emulators/gnuboy/files/patch-configure.in
@@ -1,5 +1,5 @@
---- configure.in.orig Sun Mar 11 15:13:27 2001
-+++ configure.in Sun Mar 11 15:18:58 2001
+--- configure.in.orig Sat Mar 24 13:26:19 2001
++++ configure.in Mon Apr 30 02:19:53 2001
@@ -79,12 +79,12 @@
if test "$with_sdl" != "no" ; then
AC_CHECK_PROG(SDL_CONFIG, sdl-config, yes)
@@ -17,3 +17,18 @@
AC_MSG_WARN(SDL found but headers are missing!!)
with_sdl=no
])], [with_sdl=no], $SDL_LIBS)
+@@ -152,13 +152,7 @@
+ *486*) CFLAGS="$CFLAGS -m486" ;;
+ esac
+
+-CFLAGS="$CFLAGS -O3 -DALLOW_UNALIGNED_IO \
+- -fstrength-reduce -fthread-jumps \
+- -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop \
+- -fschedule-insns -fschedule-insns2 -fexpensive-optimizations \
+- -fforce-mem -fforce-addr" ;;
+-*) CFLAGS="$CFLAGS -O3" ;;
+-
++CFLAGS="$CFLAGS -DALLOW_UNALIGNED_IO" ;;
+ esac
+
+ if test "$enable_debug" != yes -a "$enable_profile" != yes ; then
OpenPOWER on IntegriCloud