зеркало из https://github.com/github/ruby.git
* 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:
Родитель
c4cd97a563
Коммит
41f756eaf3
|
@ -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>
|
||||
|
|
|
@ -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@
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче