diff options
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 14fe5279c7..bfe7c19ce8 100644 --- a/configure.ac +++ b/configure.ac @@ -397,6 +397,11 @@ RUBY_WERROR_FLAG([ AC_MSG_ERROR([something wrong with CFLAGS="$CFLAGS"]) ] ) + + # now Xcode linker warns for deprecated architecture and wrongly + # installed TBD files. + AS_CASE(["$target_os"], [darwin*], [ac_c_werror_flag=]) + AC_MSG_CHECKING([whether LDFLAGS is valid]) { mkdir tmp.$$.try_link && |