NetBSD-Bugs archive

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

Re: toolchain/52482: Broken makefile include order?



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

From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: toolchain-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
	netbsd-bugs%netbsd.org@localhost, martin%NetBSD.org@localhost
Subject: Re: toolchain/52482: Broken makefile include order?
Date: Sun, 13 Aug 2017 23:38:04 +0200

 On Sun, Aug 13, 2017 at 01:25:01PM +0000, Martin Husemann wrote:
 > The following reply was made to PR toolchain/52482; it has been noted by GNATS.
 > 
 > From: Martin Husemann <martin%duskware.de@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > Subject: Re: toolchain/52482: Broken makefile include order?
 > Date: Sun, 13 Aug 2017 11:45:23 +0200
 > 
 >  On Sat, Aug 12, 2017 at 07:20:01PM +0000, Joerg Sonnenberger wrote:
 >  >  Please the bsd.init.mk with bsd.own.mk?
 >  
 >  Tricky:
 >  
 >  we need to get 
 >  
 >  NOSSP=          # defined
 >  NOPIE=          # defined
 >  NOMAN=          # defined
 >  
 >  from ../Makefile.inc, then .include bsd.own.mk, and then ammend
 >  CPPFLAGS and CFLAGS in ../Makefile.inc again.
 
 Hm. OK, that's a problem. The other question is what exactly is
 triggering the evaluation of CFLAGS before bsd.own.mk is included?
 The definition itself is lazy and not evaluated immediately.
 
 Joerg
 


Home | Main Index | Thread Index | Old Index