Skip to content

Commit

Permalink
Handle --without-tuning configure option properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed Nov 25, 2005
1 parent 9a1e4a1 commit 50da14b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 50da14b

Please sign in to comment.