mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: check -fno-omit-frame-pointer acceptance and usage
under MinGW. [ruby-core:39957] [Bug #5407] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
64d4f3a45a
commit
0bbb8e8975
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Oct 31 00:50:00 2011 Luis Lavena <luislavena@gmail.com>
|
||||||
|
|
||||||
|
* configure.in: check -fno-omit-frame-pointer acceptance and usage
|
||||||
|
under MinGW. [ruby-core:39957] [Bug #5407]
|
||||||
|
|
||||||
Mon Oct 31 00:16:11 2011 Tanaka Akira <akr@fsij.org>
|
Mon Oct 31 00:16:11 2011 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* include/ruby/intern.h (rb_cloexec_fcntl_dupfd): declared.
|
* include/ruby/intern.h (rb_cloexec_fcntl_dupfd): declared.
|
||||||
|
|
|
@ -504,6 +504,12 @@ if test "$GCC" = yes; then
|
||||||
test "$visibility_option" = no || OBJCOPY=:
|
test "$visibility_option" = no || OBJCOPY=:
|
||||||
fi
|
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_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\""
|
test -z "${ac_env_CXXFLAGS_set}" -a -n "${cxxflags+set}" && eval CXXFLAGS="\"$cxxflags $ARCH_FLAG\""
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue