summaryrefslogtreecommitdiffstats
path: root/unix/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'unix/aclocal.m4')
-rw-r--r--unix/aclocal.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/unix/aclocal.m4 b/unix/aclocal.m4
index e580575..9315d8e 100644
--- a/unix/aclocal.m4
+++ b/unix/aclocal.m4
@@ -692,6 +692,13 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
SHLIB_CFLAGS="-fPIC"
SHLIB_LD_LIBS='${LIBS}'
SHLIB_SUFFIX=".so"
+
+ # egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings
+ # when you inline the string operations. Turn this off to
+ # get rid of the warnings.
+
+ CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES"
+
if test "$have_dl" = yes; then
SHLIB_LD="${CC} -shared"
DL_OBJS="tclLoadDl.o"