Subject: Re: ability to build -g libraries....
To: None <tech-toolchain@netbsd.org>
From: None <joerg@britannica.bec.de>
List: tech-toolchain
Date: 03/27/2006 11:36:59
On Sun, Mar 26, 2006 at 08:13:28PM -0500, Christos Zoulas wrote:
> +.c.go:
> +	${_MKTARGET_COMPILE}
> +	${COMPILE.c} ${DEBUGFLAGS} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} -g ${.IMPSRC} -o ${.TARGET}
> +

Can you either reorder -g to be before DEBUGFLAGS or to be overrideable?
In a number of situations it is useful to use higher debugging levels,
e.g. -g3 would include macros with newer gcc versions.

Joerg