ruby-changes:22651
From: nobu <ko1@a...>
Date: Mon, 20 Feb 2012 15:50:48 +0900 (JST)
Subject: [ruby-changes:22651] nobu:r34700 (trunk): * configure.in: check if -fstack-protector is really available.
nobu 2012-02-20 15:50:36 +0900 (Mon, 20 Feb 2012) New Revision: 34700 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34700 Log: * configure.in: check if -fstack-protector is really available. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 34699) +++ configure.in (revision 34700) @@ -505,6 +505,9 @@ ], [ RUBY_TRY_CFLAGS(-fstack-protector, [stack_protector=yes], [stack_protector=no]) + if test "x$stack_protector" = xyes; then + RUBY_TRY_LDFLAGS(-fstack-protector, [], [stack_protector=broken]) + fi ]) if test "x$stack_protector" = xyes; then RUBY_APPEND_OPTION(XCFLAGS, -fstack-protector) Index: ChangeLog =================================================================== --- ChangeLog (revision 34699) +++ ChangeLog (revision 34700) @@ -1,3 +1,7 @@ +Mon Feb 20 15:50:33 2012 Nobuyoshi Nakada <nobu@r...> + + * configure.in: check if -fstack-protector is really available. + Sun Feb 19 23:43:38 2012 Tanaka Akira <akr@f...> * ext/dbm/extconf.rb: show header and library found. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/