summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2aca4b9fca..f4c2e04bde 100644
--- a/configure.ac
+++ b/configure.ac
@@ -513,6 +513,10 @@ if test "$gl_gcc_warnings" = yes; then
gl_WARN_ADD([-fdiagnostics-show-option])
fi
+if test "$gl_cv_opt_valgrind_tests" != no; then
+ gl_WARN_ADD([-fno-builtin-strcmp])
+fi
+
AC_SUBST([WERROR_CFLAGS])
AC_SUBST([WSTACK_CFLAGS])
AC_SUBST([WARN_CFLAGS])