[pacman-dev] [PATCH] use the default visibility attribute when debugging is enabled, i.e. all symbols will be visible
Barbu Paul - Gheorghe
barbu.paul.gheorghe at gmail.com
Wed Aug 1 13:53:05 EDT 2012
Signed-off-by: Barbu Paul - Gheorghe <barbu.paul.gheorghe at gmail.com>
---
m4/acinclude.m4 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/m4/acinclude.m4 b/m4/acinclude.m4
index f57a515..2829845 100644
--- a/m4/acinclude.m4
+++ b/m4/acinclude.m4
@@ -83,7 +83,8 @@ AC_DEFUN([GCC_VISIBILITY_CC],[
if test $visibility_cv_cc = yes; then
AC_DEFINE([ENABLE_VISIBILITY_CC], 1, [Define if symbol visibility C support is enabled.])
fi
- AM_CONDITIONAL([ENABLE_VISIBILITY_CC], test "x$visibility_cv_cc" = "xyes")
+ AM_CONDITIONAL([ENABLE_VISIBILITY_CC],
+ test "x$visibility_cv_cc" = "xyes" -a "x$debug" != "xyes")
fi
])
--
Barbu Paul - Gheorghe
Common sense is not so common - Voltaire
Visit My GitHub profile to see my open-source projects - https://github.com/paullik
More information about the pacman-dev
mailing list