mirror of https://code.videolan.org/videolan/vlc
Handle --without-tuning configure option properly
This commit is contained in:
parent
9a1e4a1161
commit
50da14bf68
|
@ -1248,7 +1248,9 @@ AC_ARG_WITH(tuning,
|
||||||
[ --with-tuning=ARCH enable special tuning for an architecture
|
[ --with-tuning=ARCH enable special tuning for an architecture
|
||||||
(default Pentium 2 on IA-32 and 750 on PPC)])
|
(default Pentium 2 on IA-32 and 750 on PPC)])
|
||||||
if test -n "${with_tuning}"; then
|
if test -n "${with_tuning}"; then
|
||||||
CFLAGS_TUNING="-mtune=${with_tuning}"
|
if test "${with_tuning}" != "no"; then
|
||||||
|
CFLAGS_TUNING="-mtune=${with_tuning}"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o "${target_cpu}" = "i486" -o "${target_cpu}" = "i386"; then
|
if test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o "${target_cpu}" = "i486" -o "${target_cpu}" = "i386"; then
|
||||||
CFLAGS_TUNING="-mtune=pentium2"
|
CFLAGS_TUNING="-mtune=pentium2"
|
||||||
|
|
Loading…
Reference in New Issue