pkgsrc/multimedia/vlc07/patches/patch-ai
drochner 9bd30e3e43 Fix the build error with newer gcc, seen in bulk builds: patch the
configure script to pass "-mtune=pentiumpro" instaead of -mcpu.
For gcc3.3.x, override this with a configure argument which makes
that -mcpu is still used. (The latter is untested.)
2007-09-29 19:44:05 +00:00

13 lines
514 B
Text

$NetBSD: patch-ai,v 1.1 2007/09/29 19:44:05 drochner Exp $
--- configure.orig 2007-09-29 19:54:28.000000000 +0200
+++ configure
@@ -18021,7 +18021,7 @@ if test -n "${with_tuning}"; then
fi
else
if test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o "${target_cpu}" = "i486" -o "${target_cpu}" = "i386"; then
- CFLAGS_TUNING="-mcpu=pentiumpro"
+ CFLAGS_TUNING="-mtune=pentiumpro"
else
if test "${target_cpu}" = "powerpc"; then CFLAGS_TUNING="-mtune=750"; fi
fi