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
ac657299
Commit
ac657299
authored
Jun 01, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix flawed CFLAGS logic
parent
e51b3d92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
configure.ac
configure.ac
+5
-5
No files found.
configure.ac
View file @
ac657299
...
@@ -1019,15 +1019,14 @@ AS_IF([test "${enable_coverage}" != "no"], [
...
@@ -1019,15 +1019,14 @@ AS_IF([test "${enable_coverage}" != "no"], [
CFLAGS="-fprofile-arcs -ftest-coverage ${CFLAGS}"
CFLAGS="-fprofile-arcs -ftest-coverage ${CFLAGS}"
CXXFLAGS="-fprofile-arcs -ftest-coverage ${CXXFLAGS}"
CXXFLAGS="-fprofile-arcs -ftest-coverage ${CXXFLAGS}"
LDFLAGS="-lgcov ${LDFLAGS}"
LDFLAGS="-lgcov ${LDFLAGS}"
CFLAGS_save="${CFLAGS}"
CXXFLAGS_save="${CXXFLAGS}"
LDFLAGS_save="${LDFLAGS}"
])
])
VLC_SAVE_FLAGS
AS_IF([test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"], [
AS_IF([test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"], [
AC_CACHE_CHECK([if $CC accepts -fvisibility=hidden],
AC_CACHE_CHECK([if $CC accepts -fvisibility=hidden],
[ac_cv_c_visibility_hidden], [
[ac_cv_c_visibility_hidden], [
CFLAGS="${CFLAGS_save} -f
fast-math
"
CFLAGS="${CFLAGS_save} -f
visibility=hidden
"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [
ac_cv_c_visibility_hidden=yes
ac_cv_c_visibility_hidden=yes
], [
], [
...
@@ -1035,13 +1034,14 @@ AS_IF([test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"], [
...
@@ -1035,13 +1034,14 @@ AS_IF([test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"], [
])
])
])
])
AS_IF([test "${ac_cv_c_visibility_hidden}" != "no"], [
AS_IF([test "${ac_cv_c_visibility_hidden}" != "no"], [
VLC_RESTORE_FLAGS
CFLAGS="${CFLAGS} -fvisibility=hidden"
CFLAGS="${CFLAGS} -fvisibility=hidden"
CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
OBJCFLAGS="${OBJCFLAGS} -fvisibility=hidden"
OBJCFLAGS="${OBJCFLAGS} -fvisibility=hidden"
VLC_SAVE_FLAGS
])
])
])
])
VLC_SAVE_FLAGS
dnl
dnl
dnl Enable/disable optimizations
dnl Enable/disable optimizations
...
...
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