Commit 341fba0c authored by Felix Paul Kühne's avatar Felix Paul Kühne

configure: tune for core2 when compiling for 64bit Mac

parent 9880ab68
...@@ -1481,8 +1481,10 @@ if test -n "${with_tuning}"; then ...@@ -1481,8 +1481,10 @@ if test -n "${with_tuning}"; then
CFLAGS_TUNING="-mtune=${with_tuning}" CFLAGS_TUNING="-mtune=${with_tuning}"
fi fi
else 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" 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 elif test "${host_cpu}" = "i686" -o "${host_cpu}" = "i586" -o "${host_cpu}" = "i486" -o "${host_cpu}" = "i386"; then
CFLAGS_TUNING="-mtune=pentium2" CFLAGS_TUNING="-mtune=pentium2"
elif test "${host_cpu}" = "x86_64"; then elif test "${host_cpu}" = "x86_64"; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment