openbsd-ports/x11/ogle/patches/patch-configure
2002-07-16 13:38:04 +00:00

18 lines
450 B
Plaintext

$OpenBSD: patch-configure,v 1.5 2002/07/16 13:38:04 espie Exp $
--- configure.orig Sun Jun 30 02:54:14 2002
+++ configure Tue Jul 16 15:17:38 2002
@@ -11804,8 +11804,11 @@ _ACEOF
powerpc|ppc)
if test "x$GCC" = xyes; then
CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops"
- XCFLAGS="-Wa,-m7400"
- USE_ALTIVEC=yes
+ echo | as -m7400 >/dev/null
+ if test $? -eq 0; then
+ XCFLAGS="-Wa,-m7400"
+ USE_ALTIVEC=yes
+ fi
fi
esac