Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
2089d2f6
Commit
2089d2f6
authored
Jul 10, 2005
by
Rémi Denis-Courmont
Browse files
Use -mtune instead of obsoleted -mcpu
(even on gcc-2.95 seems to accept the flag)
parent
dc4fe2ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
2089d2f6
...
...
@@ -1154,16 +1154,12 @@ dnl Special arch tuning
dnl
AC_ARG_WITH(tuning,
[ --with-tuning=ARCH enable special tuning for an architecture
(default
i686
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 "${target_cpu}" = "powerpc"; then
CFLAGS_TUNING="-mtune=${with_tuning}"
else
CFLAGS_TUNING="-mcpu=${with_tuning}"
fi
CFLAGS_TUNING="-mtune=${with_tuning}"
else
if test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o "${target_cpu}" = "i486" -o "${target_cpu}" = "i386"; then
CFLAGS_TUNING="-m
cpu
=pentium
pro
"
CFLAGS_TUNING="-m
tune
=pentium
2
"
elif test "${target_cpu}" = "x86_64"; then
CFLAGS_TUNING="-mtune=opteron"
elif test "${target_cpu}" = "powerpc"; then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment