fix altivec test on powerpc, -force_cpusubtype_ALL appears to be a

darwin-specific gcc4 option; from ole@grummel.net
This commit is contained in:
pvalchev 2006-11-25 05:40:31 +00:00
parent 1fcfc6b7b2
commit df027a4134
2 changed files with 23 additions and 5 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.5 2006/10/29 23:30:50 espie Exp $
# $OpenBSD: Makefile,v 1.6 2006/11/25 05:40:31 pvalchev Exp $
COMMENT= "multimedia decoding library"
V= 1.1.2
DISTNAME= xine-lib-${V}
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
EXTRACT_SUFX= .tar.bz2
CATEGORIES= multimedia
SHARED_LIBS= xine 14.1

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.4 2006/10/29 23:30:50 espie Exp $
--- configure.orig Sun Jul 9 16:51:14 2006
+++ configure Sun Oct 29 20:16:57 2006
$OpenBSD: patch-configure,v 1.5 2006/11/25 05:40:31 pvalchev Exp $
--- configure.orig Sun Jul 9 08:51:14 2006
+++ configure Fri Nov 24 21:54:09 2006
@@ -25613,8 +25613,12 @@ _ACEOF
fi
done
@ -106,3 +106,21 @@ $OpenBSD: patch-configure,v 1.4 2006/10/29 23:30:50 espie Exp $
else
{ echo "$as_me:$LINENO: result: *** All libmng dependent parts will be disabled ***" >&5
echo "${ECHO_T}*** All libmng dependent parts will be disabled ***" >&6; }
@@ -53028,7 +53044,7 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
CFLAGS="$CFLAGS -faltivec"
- LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS -force_cpusubtype_ALL -faltivec"
+ LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS -faltivec"
fi
;;
ppc-*-linux* | powerpc-*)
@@ -53208,7 +53224,7 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
CFLAGS="$CFLAGS -maltivec"
- LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS -force_cpusubtype_ALL -maltivec"
+ LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS -maltivec"
fi
;;
sparc*-*-linux*)