diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 530301222c..a3d191a2bf 100644 --- a/configure.in +++ b/configure.in @@ -504,6 +504,12 @@ if test "$GCC" = yes; then test "$visibility_option" = no || OBJCOPY=: fi +if test "$GCC" = yes; then + AS_CASE(["$target_os"], [mingw*], [ + RUBY_TRY_CFLAGS(-fno-omit-frame-pointer, [optflags="${optflags+$optflags }-fno-omit-frame-pointer"]) + ]) +fi + test -z "${ac_env_CFLAGS_set}" -a -n "${cflags+set}" && eval CFLAGS="\"$cflags $ARCH_FLAG\"" test -z "${ac_env_CXXFLAGS_set}" -a -n "${cxxflags+set}" && eval CXXFLAGS="\"$cxxflags $ARCH_FLAG\"" |