diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | configure.in | 1 |
3 files changed, 3 insertions, 4 deletions
@@ -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> diff --git a/Makefile.in b/Makefile.in index abdee569a8..e614635dff 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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@ diff --git a/configure.in b/configure.in index 510f0ebdcd..9df6ad6bac 100644 --- a/configure.in +++ b/configure.in @@ -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 |