mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-28 23:09:59 +02:00
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
|
||||
(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"
|
||||
|
Loading…
Reference in New Issue
Block a user