This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] build system: gcc_cv_libc_provides_ssp


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]