summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-03-04 22:29:04 (GMT)
committernijtmans <nijtmans>2010-03-04 22:29:04 (GMT)
commitead00d5d7d7afa8be16eacf5a93a931c84b6749a (patch)
tree20424fb33bacac14f3240a09effbc1b2e5476576 /unix/tcl.m4
parent4a7184ccc431e5e65151b8bccee62179269d099e (diff)
downloadtcl-ead00d5d7d7afa8be16eacf5a93a931c84b6749a.zip
tcl-ead00d5d7d7afa8be16eacf5a93a931c84b6749a.tar.gz
tcl-ead00d5d7d7afa8be16eacf5a93a931c84b6749a.tar.bz2
Split tommath stub lib source file
in separate file. Don't use -fvisibility=hidden for cygwin
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index c5045c7..d6769af 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1052,7 +1052,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AC_CACHE_CHECK([if compiler supports visibility "hidden"],
tcl_cv_cc_visibility_hidden, [
- hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -fvisibility=hidden"
+ hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -fvisibility=hidden -Werror"
AC_TRY_COMPILE(,, tcl_cv_cc_visibility_hidden=yes,
tcl_cv_cc_visibility_hidden=no)
CFLAGS=$hold_cflags])