bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] build system: gcc_cv_libc_provides_ssp


From: Thomas Schwinge
Subject: [PATCH] build system: gcc_cv_libc_provides_ssp
Date: Fri, 10 Oct 2008 10:56:34 +0200
User-agent: Mutt/1.5.11

Hello!

On Wed, Oct 08, 2008 at 11:53:57AM +0200, I wrote:
> First, the check for gcc_cv_libc_provides_ssp is not complete, as has
> already pointed out (with patches!) before, but is still not fixed on
> trunk.  Let me revisit that: in configure.ac it is being checked for
> ``case "$target" in *-*-linux*)'' which should rather match ``*-*-linux*
> | *-*-*-gnu* | *-*-gnu*'' to catch all GNU/Linux, GNU/Hurd, GNU/k*BSD
> systems.  (This is being patched in the Debian GCC package for some time
> already.)

Even though the NATIVE_SYSTEM_HEADER_DIR issue is still being discussed,
in either way we'll need this patch installed.  Any objections?

2008-10-10  Thomas Schwinge  <tschwinge@gnu.org>

        * configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/kFreeBSD,
        GNU/kNetBSD and GNU/Hurd systems.

Index: configure.ac
===================================================================
--- configure.ac        (Revision 141003)
+++ configure.ac        (Arbeitskopie)
@@ -3469,7 +3469,7 @@
       gcc_cv_libc_provides_ssp,
       [gcc_cv_libc_provides_ssp=no
     case "$target" in
-       *-*-linux*)
+       *-*-linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu*)
       if test x$host != x$target || test "x$TARGET_SYSTEM_ROOT" != x; then
        if test "x$with_sysroot" = x; then
          glibc_header_dir="${exec_prefix}/${target_noncanonical}/sys-include"


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]