Seems accidentally left over from development.  As a rule we don't
ship with -g.

Klemens Nanni <k...@openbsd.org> wrote:

> As of now, `export DEBUG=... ;  make' will ignore my flags.
> 
> I guess kettenis wanted symbols by default, so leave a default DEBUG
> value that allows overwriting instead of omitting DEBUG as usual.
> 
> OK?
> 
> 
> Index: ldomctl/Makefile
> ===================================================================
> RCS file: /cvs/src/usr.sbin/ldomctl/Makefile,v
> retrieving revision 1.9
> diff -u -p -r1.9 Makefile
> --- ldomctl/Makefile  28 Jul 2019 15:30:45 -0000      1.9
> +++ ldomctl/Makefile  19 Nov 2019 22:16:19 -0000
> @@ -8,7 +8,7 @@ PROG= ldomctl
>  SRCS=        ldomctl.c ds.c mdesc.c util.c mdstore.c pri.c config.c parse.y
>  CFLAGS+=-Wall
>  CFLAGS+=-I${.CURDIR}/../ldomd -I${.CURDIR}
> -DEBUG= -g
> +DEBUG?=      -g
>  
>  .else
>  
> Index: ldomd/Makefile
> ===================================================================
> RCS file: /cvs/src/usr.sbin/ldomd/Makefile,v
> retrieving revision 1.5
> diff -u -p -r1.5 Makefile
> --- ldomd/Makefile    28 Jul 2019 15:30:45 -0000      1.5
> +++ ldomd/Makefile    19 Nov 2019 22:16:23 -0000
> @@ -8,7 +8,7 @@ PROG= ldomd
>  SRCS=        ldomd.c ds.c mdesc.c util.c var-config.c
>  CFLAGS+=-Wall
>  CFLAGS+=-I${.CURDIR}/../ldomctl
> -DEBUG=       -g
> +DEBUG?=      -g
>  
>  .else
>  
> 

Reply via email to