[vlc-commits] configure: tune for core2 when compiling for 64bit Mac
Felix Paul Kühne
git at videolan.org
Tue Feb 8 15:21:30 CET 2011
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Feb 7 21:28:09 2011 +0100| [341fba0cd1b4b7a9d939f2baddfdc956277294c3] | committer: Felix Paul Kühne
configure: tune for core2 when compiling for 64bit Mac
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=341fba0cd1b4b7a9d939f2baddfdc956277294c3
---
configure.ac | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 14d2f65..7ef7f3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1481,8 +1481,10 @@ if test -n "${with_tuning}"; then
CFLAGS_TUNING="-mtune=${with_tuning}"
fi
else
- if test "${SYS}" = "darwin" -a "${host_cpu}" != "powerpc"; then
+ if test "${SYS}" = "darwin" -a "${host_cpu}" = "i686"; then
CFLAGS_TUNING="-march=prescott -mtune=generic"
+ elif test "${SYS}" = "darwin" -a "${host_cpu}" = "x86_64"; then
+ CFLAGS_TUNING="-march=core2 -mtune=core2"
elif test "${host_cpu}" = "i686" -o "${host_cpu}" = "i586" -o "${host_cpu}" = "i486" -o "${host_cpu}" = "i386"; then
CFLAGS_TUNING="-mtune=pentium2"
elif test "${host_cpu}" = "x86_64"; then
More information about the vlc-commits
mailing list