Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
c6fdadcb
Commit
c6fdadcb
authored
Jan 30, 2003
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keep -O2 in --disable-optimizations mode, cause it can't harm...
parent
8d186b97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
13 deletions
+23
-13
Makefile.am
Makefile.am
+3
-0
configure.ac.in
configure.ac.in
+20
-13
No files found.
Makefile.am
View file @
c6fdadcb
...
@@ -117,6 +117,9 @@ CFLAGS_nodebug = @CFLAGS_OPTIM_NODEBUG@
...
@@ -117,6 +117,9 @@ CFLAGS_nodebug = @CFLAGS_OPTIM_NODEBUG@
endif
endif
endif
endif
endif
endif
else
# !OPTIM
CFLAGS_optim
=
@CFLAGS_NOOPTIM@
endif
endif
CPPFLAGS_default
+=
$(CPPFLAGS_release)
\
CPPFLAGS_default
+=
$(CPPFLAGS_release)
\
...
...
configure.ac.in
View file @
c6fdadcb
...
@@ -586,21 +586,27 @@ AC_CACHE_CHECK([if \$CC accepts -O3],
...
@@ -586,21 +586,27 @@ AC_CACHE_CHECK([if \$CC accepts -O3],
AC_TRY_COMPILE([],,ac_cv_c_o3=yes, ac_cv_c_o3=no)])
AC_TRY_COMPILE([],,ac_cv_c_o3=yes, ac_cv_c_o3=no)])
if test "x${ac_cv_c_o3}" != "xno"; then
if test "x${ac_cv_c_o3}" != "xno"; then
CFLAGS_OPTIM="${CFLAGS_OPTIM} -O3"
CFLAGS_OPTIM="${CFLAGS_OPTIM} -O3"
else
fi
AC_CACHE_CHECK([if \$CC accepts -O2],
[ac_cv_c_o2],
AC_CACHE_CHECK([if \$CC accepts -O2],
[CFLAGS="${CFLAGS_save} -O2"
[ac_cv_c_o2],
AC_TRY_COMPILE([],,ac_cv_c_o2=yes, ac_cv_c_o2=no)])
[CFLAGS="${CFLAGS_save} -O2"
if test "x${ac_cv_c_o2}" != "xno"; then
AC_TRY_COMPILE([],,ac_cv_c_o2=yes, ac_cv_c_o2=no)])
if test "x${ac_cv_c_o2}" != "xno"; then
if test "x${ac_cv_c_o3}" = "xno"; then
CFLAGS_OPTIM="${CFLAGS_OPTIM} -O2"
CFLAGS_OPTIM="${CFLAGS_OPTIM} -O2"
else
fi
AC_CACHE_CHECK([if \$CC accepts -O],
CFLAGS_NOOPTIM="${CFLAGS_NOOPTIM} -O2"
[ac_cv_c_o],
else
[CFLAGS="${CFLAGS_save} -O"
AC_CACHE_CHECK([if \$CC accepts -O],
AC_TRY_COMPILE([],,ac_cv_c_o=yes, ac_cv_c_o=no)])
[ac_cv_c_o],
if test "x${ac_cv_c_o}" != "xno"; then
[CFLAGS="${CFLAGS_save} -O"
AC_TRY_COMPILE([],,ac_cv_c_o=yes, ac_cv_c_o=no)])
if test "x${ac_cv_c_o}" != "xno"; then
if test "x${ac_cv_c_o3}" = "xno"; then
CFLAGS_OPTIM="${CFLAGS_OPTIM} -O"
CFLAGS_OPTIM="${CFLAGS_OPTIM} -O"
fi
fi
CFLAGS_NOOPTIM="${CFLAGS_NOOPTIM} -O"
fi
fi
fi
fi
...
@@ -2863,6 +2869,7 @@ AC_SUBST(INCLUDES)
...
@@ -2863,6 +2869,7 @@ AC_SUBST(INCLUDES)
AC_SUBST(CFLAGS_TUNING)
AC_SUBST(CFLAGS_TUNING)
AC_SUBST(CFLAGS_OPTIM)
AC_SUBST(CFLAGS_OPTIM)
AC_SUBST(CFLAGS_OPTIM_NODEBUG)
AC_SUBST(CFLAGS_OPTIM_NODEBUG)
AC_SUBST(CFLAGS_NOOPTIM)
AC_SUBST(LDFLAGS)
AC_SUBST(LDFLAGS)
AC_SUBST(CFLAGS_vlc)
AC_SUBST(CFLAGS_vlc)
...
...
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