NetBSD-Bugs archive

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

Re: pkg/52326: devel/cmake fails to build on netbsd-8 on VAX



The following reply was made to PR toolchain/52326; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/52326: devel/cmake fails to build on netbsd-8 on VAX
Date: Thu, 29 Jun 2017 15:48:18 +0200

 I am currently testing a slightly simpler variant of the patch for
 the gobject-introspection issue.
 
 Martin
 
 Index: gcc.c
 ===================================================================
 RCS file: /cvsroot/src/external/gpl3/gcc/dist/gcc/gcc.c,v
 retrieving revision 1.14
 diff -u -p -r1.14 gcc.c
 --- gcc.c	14 Feb 2016 19:08:10 -0000	1.14
 +++ gcc.c	29 Jun 2017 13:46:33 -0000
 @@ -1462,13 +1462,8 @@ init_gcc_specs (struct obstack *obstack,
    buf = concat ("%{static|static-libgcc:", static_name, " ", eh_name, "}"
  		"%{!static:%{!static-libgcc:"
  #if USE_LD_AS_NEEDED
 -		"%{!shared-libgcc:",
 -		static_name, " " LD_AS_NEEDED_OPTION " ",
 -		shared_name, " " LD_NO_AS_NEEDED_OPTION
 -		"}"
 -		"%{shared-libgcc:",
 -		"--as-needed ", shared_name, " --no-as-needed ", static_name,
 -		"}"
 +		LD_AS_NEEDED_OPTION " ", shared_name, " " LD_NO_AS_NEEDED_OPTION " ",
 +		static_name,
  #else
  		"%{!shared:"
  		"%{!shared-libgcc:", static_name, " ", eh_name, "}"
 


Home | Main Index | Thread Index | Old Index