From eacfa99c90b28d47cf700c625f9df1afdaef7430 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 5 Oct 2011 22:20:32 +0000 Subject: Skip -rdynamic on cygwin as well as Solaris. --- infrastructure/m4/boxbackup_tests.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infrastructure/m4/boxbackup_tests.m4 b/infrastructure/m4/boxbackup_tests.m4 index 9e395eb9..ab1f2c8f 100644 --- a/infrastructure/m4/boxbackup_tests.m4 +++ b/infrastructure/m4/boxbackup_tests.m4 @@ -15,9 +15,10 @@ if test "x$GXX" = "xyes"; then AC_SUBST([CXXFLAGS_STRICT], ['-Wall -Wundef']) # Don't check for gcc -rdynamic on Solaris as it's broken, but returns 0. + # On Cygwin it does nothing except cause gcc to emit a warning message. case $build_os in - solaris*) - AC_MSG_NOTICE([skipping check for -rdynamic check on Solaris]) + solaris*|cygwin) + AC_MSG_NOTICE([skipping check for -rdynamic check on $build_os]) ;; *) # Check whether gcc supports -rdynamic, thanks to Steve Ellcey -- cgit v1.2.3