summaryrefslogtreecommitdiff
path: root/emulators/zsnes/patches/patch-aa
blob: a22f5f86c822ee3999b37af8bf8aabca25a6cc01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.5 2006/12/26 20:13:30 wiz Exp $

--- configure.orig	2005-01-20 03:21:54.000000000 +0100
+++ configure
@@ -2909,6 +2909,10 @@ case "$target" in
 		CFLAGS="$CFLAGS -D__LINUX__ -D__FreeBSD__"
 		NFLAGS="$NFLAGS -D__LINUX__ -D__FreeBSD__ -DELF -f elf"
 		;;
+	*-*-dragonfly*)
+		CFLAGS="$CFLAGS -D__LINUX__ -D__FreeBSD__"
+		NFLAGS="$NFLAGS -D__LINUX__ -D__FreeBSD__ -DELF -f elf"
+		;;
 	*-*-cygwin* | *-*-*ming*)
 		CFLAGS="$CFLAGS -D__LINUX__"
 		NFLAGS="$NFLAGS -D__LINUX__ -f win32"
@@ -4115,7 +4119,6 @@ else
 	echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6
 
-	CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -s"
 	NFLAGS="$NFLAGS -O1"
 	ZSNESEXE="zsnes"
 fi