Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
8df8bef6
Commit
8df8bef6
authored
Feb 21, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added support for -O4 when compiling with --disable-debug
parent
8416c5ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
18 deletions
+26
-18
configure.ac
configure.ac
+26
-18
No files found.
configure.ac
View file @
8df8bef6
...
...
@@ -1017,26 +1017,34 @@ else
fi
fi
AC_CACHE_CHECK([if \$CC accepts -O
3
],
[ac_cv_c_o
3
],
[CFLAGS="${CFLAGS_save} -O
3
"
AC_TRY_COMPILE([],,ac_cv_c_o
3=yes, ac_cv_c_o3
=no)])
if test "${ac_cv_c_o
3
}" != "no" -a "x${enable_debug}" = "xno"; then
CFLAGS_OPTIM_SPEED="${CFLAGS_OPTIM_SPEED} -O
3
"
AC_CACHE_CHECK([if \$CC accepts -O
4
],
[ac_cv_c_o
4
],
[CFLAGS="${CFLAGS_save} -O
4
"
AC_TRY_COMPILE([],,ac_cv_c_o
4=yes, ac_cv_c_o4
=no)])
if test "${ac_cv_c_o
4
}" != "no" -a "x${enable_debug}" = "xno"; then
CFLAGS_OPTIM_SPEED="${CFLAGS_OPTIM_SPEED} -O
4
"
else
AC_CACHE_CHECK([if \$CC accepts -O
2
],
[ac_cv_c_o
2
],
[CFLAGS="${CFLAGS_save} -O
2
"
AC_TRY_COMPILE([],,ac_cv_c_o
2=yes, ac_cv_c_o2
=no)])
if test "${ac_cv_c_o
2}" != "
no"; then
CFLAGS_OPTIM_SPEED="${CFLAGS_OPTIM_SPEED} -O
2
"
AC_CACHE_CHECK([if \$CC accepts -O
3
],
[ac_cv_c_o
3
],
[CFLAGS="${CFLAGS_save} -O
3
"
AC_TRY_COMPILE([],,ac_cv_c_o
3=yes, ac_cv_c_o3
=no)])
if test "${ac_cv_c_o
3}" != "no" -a "x${enable_debug}" = "x
no"; then
CFLAGS_OPTIM_SPEED="${CFLAGS_OPTIM_SPEED} -O
3
"
else
AC_CACHE_CHECK([if \$CC accepts -O],
[ac_cv_c_o],
[CFLAGS="${CFLAGS_save} -O"
AC_TRY_COMPILE([],,ac_cv_c_o=yes, ac_cv_c_o=no)])
if test "${ac_cv_c_o}" != "no"; then
CFLAGS_OPTIM_SPEED="${CFLAGS_OPTIM_SPEED} -O"
AC_CACHE_CHECK([if \$CC accepts -O2],
[ac_cv_c_o2],
[CFLAGS="${CFLAGS_save} -O2"
AC_TRY_COMPILE([],,ac_cv_c_o2=yes, ac_cv_c_o2=no)])
if test "${ac_cv_c_o2}" != "no"; then
CFLAGS_OPTIM_SPEED="${CFLAGS_OPTIM_SPEED} -O2"
else
AC_CACHE_CHECK([if \$CC accepts -O],
[ac_cv_c_o],
[CFLAGS="${CFLAGS_save} -O"
AC_TRY_COMPILE([],,ac_cv_c_o=yes, ac_cv_c_o=no)])
if test "${ac_cv_c_o}" != "no"; then
CFLAGS_OPTIM_SPEED="${CFLAGS_OPTIM_SPEED} -O"
fi
fi
fi
fi
...
...
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