summaryrefslogtreecommitdiffstats
path: root/unix/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'unix/aclocal.m4')
-rw-r--r--unix/aclocal.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/aclocal.m4 b/unix/aclocal.m4
index d40e855..317d2a9 100644
--- a/unix/aclocal.m4
+++ b/unix/aclocal.m4
@@ -565,6 +565,9 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
TCL_EXP_FILE=""
case $system in
AIX-4.[[2-9]])
+ # The IBM compiler has a bug with -O when compiling the
+ # text widget code (TkTextPixelIndex segv)
+ CFLAGS_OPTIMIZE=""
SHLIB_CFLAGS=""
SHLIB_LD=$TCL_SHLIB_LD
SHLIB_LD_LIBS='${LIBS}'