NetBSD-Bugs archive

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

Re: toolchain/52482: Broken makefile include order?



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