Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
2089d2f6
Commit
2089d2f6
authored
Jul 10, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use -mtune instead of obsoleted -mcpu
(even on gcc-2.95 seems to accept the flag)
parent
dc4fe2ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
configure.ac
configure.ac
+3
-7
No files found.
configure.ac
View file @
2089d2f6
...
@@ -1154,16 +1154,12 @@ dnl Special arch tuning
...
@@ -1154,16 +1154,12 @@ dnl Special arch tuning
dnl
dnl
AC_ARG_WITH(tuning,
AC_ARG_WITH(tuning,
[ --with-tuning=ARCH enable special tuning for an architecture
[ --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 -n "${with_tuning}"; then
if test "${target_cpu}" = "powerpc"; then
CFLAGS_TUNING="-mtune=${with_tuning}"
CFLAGS_TUNING="-mtune=${with_tuning}"
else
CFLAGS_TUNING="-mcpu=${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="-m
cpu=pentiumpro
"
CFLAGS_TUNING="-m
tune=pentium2
"
elif test "${target_cpu}" = "x86_64"; then
elif test "${target_cpu}" = "x86_64"; then
CFLAGS_TUNING="-mtune=opteron"
CFLAGS_TUNING="-mtune=opteron"
elif test "${target_cpu}" = "powerpc"; then
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