summaryrefslogtreecommitdiff
path: root/audio/libvorbis/patches/patch-ad
blob: 142629f1d7cccdf8b0bbe1b1d62fd22f02b8ac22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ad,v 1.3 2009/05/18 04:42:44 dholland Exp $

gcc no longer supports -mv8 on solaris (PR 37177)

--- configure.orig	2009-05-18 00:39:40.000000000 -0400
+++ configure	2009-05-18 00:40:13.000000000 -0400
@@ -19472,9 +19472,9 @@
 		CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char"
 		PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
 	sparc-sun-*)
-		DEBUG="-g -Wall -W -D__NO_MATH_INLINES -fsigned-char -mv8"
-		CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
-		PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
+		DEBUG="-g -Wall -W -D__NO_MATH_INLINES -fsigned-char"
+		CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char"
+		PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char" ;;
 	*-*-darwin*)
 		DEBUG="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O0 -fsigned-char"
 		CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char"