summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-12-13 22:33:09 (GMT)
committernijtmans <nijtmans>2010-12-13 22:33:09 (GMT)
commit93ef2ca8ce830fe5a8a6126835ea3f5d269e2e6c (patch)
tree2a927d7f467322e7d1b5dce8fc02c49e157b966a /unix/tcl.m4
parentb8aefcc068ba0ea1d0259b9321757135e1315167 (diff)
downloadtcl-93ef2ca8ce830fe5a8a6126835ea3f5d269e2e6c.zip
tcl-93ef2ca8ce830fe5a8a6126835ea3f5d269e2e6c.tar.gz
tcl-93ef2ca8ce830fe5a8a6126835ea3f5d269e2e6c.tar.bz2
[Bug 3135271] Link error due to hidden symbols (CentOS 4.2)
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index cfaffe8..c699535 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1056,6 +1056,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AS_IF([test $tcl_cv_cc_visibility_hidden = yes], [
CFLAGS="$CFLAGS -fvisibility=hidden"
], [
+ AC_DEFINE(NO_VIZ, [], [No visibility attribute])
hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror"
AC_TRY_LINK([
extern __attribute__((__visibility__("hidden"))) void f(void);