1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in (LDFLAGS): -fstack-protector is always needed to

link static library created with it.  [ruby-core:41387]
  [Bug#5686]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-12-01 01:32:02 +00:00
parent 05f423abc6
commit b2e137c81e
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
Thu Dec 1 10:31:55 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (LDFLAGS): -fstack-protector is always needed to
link static library created with it. [ruby-core:41387]
[Bug#5686]
Thu Dec 1 07:03:51 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> Thu Dec 1 07:03:51 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: add sys/prctl.h test. * configure.in: add sys/prctl.h test.

View file

@ -510,6 +510,7 @@ if test "$GCC" = yes; then
if test "x$stack_protector" = xyes; then if test "x$stack_protector" = xyes; then
RUBY_APPEND_OPTION(XCFLAGS, -fstack-protector) RUBY_APPEND_OPTION(XCFLAGS, -fstack-protector)
RUBY_APPEND_OPTION(XLDFLAGS, -fstack-protector) RUBY_APPEND_OPTION(XLDFLAGS, -fstack-protector)
RUBY_APPEND_OPTION(LDFLAGS, -fstack-protector)
fi fi
# suppress annoying -Wstrict-overflow warnings # suppress annoying -Wstrict-overflow warnings