Commit 50da14bf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Handle --without-tuning configure option properly

parent 9a1e4a11
......@@ -1248,7 +1248,9 @@ AC_ARG_WITH(tuning,
[ --with-tuning=ARCH enable special tuning for an architecture
(default Pentium 2 on IA-32 and 750 on PPC)])
if test -n "${with_tuning}"; then
CFLAGS_TUNING="-mtune=${with_tuning}"
if test "${with_tuning}" != "no"; then
CFLAGS_TUNING="-mtune=${with_tuning}"
fi
else
if test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o "${target_cpu}" = "i486" -o "${target_cpu}" = "i386"; then
CFLAGS_TUNING="-mtune=pentium2"
......
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