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

* Makefile.in (DLDFLAGS): also needs -fstack-protector.

[Bug#5676]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-11-27 09:54:12 +00:00
parent c4cd97a563
commit 41f756eaf3
3 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,6 @@
Sun Nov 27 18:25:30 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
Sun Nov 27 18:54:05 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (-fstack-protector): also needed in DLDFLAGS.
* Makefile.in (DLDFLAGS): also needs -fstack-protector.
[Bug#5676]
Sun Nov 27 14:13:33 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>

View file

@ -63,7 +63,7 @@ EXTLIBS =
LIBS = @LIBS@ $(EXTLIBS)
MISSING = @LIBOBJS@ @ALLOCA@
LDSHARED = @LIBRUBY_LDSHARED@
DLDFLAGS = @LIBRUBY_DLDFLAGS@ $(EXTLDFLAGS) $(ARCH_FLAG)
DLDFLAGS = @LIBRUBY_DLDFLAGS@ $(XLDFLAGS) $(ARCH_FLAG)
SOLIBS = @SOLIBS@
MAINLIBS = @MAINLIBS@
ARCHMINIOBJS = @MINIOBJS@

View file

@ -501,7 +501,6 @@ if test "$GCC" = yes; then
if test "x$stack_protector" = xyes; then
RUBY_APPEND_OPTION(XCFLAGS, -fstack-protector)
RUBY_APPEND_OPTION(XLDFLAGS, -fstack-protector)
RUBY_APPEND_OPTION(DLDFLAGS, -fstack-protector)
fi
fi