Subject: Building debuging libraries?
To: None <current-users@NetBSD.ORG>
From: Andrew Cagney <>
List: current-users
Date: 05/13/1995 14:53:35

What is the `correct' way to build debuging versions (ie with -g)
of the libraries?

At first poke around COPTS=-g looked good.  However, the mk file
/usr/share/mk/ ignores this.  My second guess (well
actually first) of CFLAGS='-g -O' isnt any good either, libcurses
wants to add to CFLAGS and this overides it.

Any hints appreciated.


PS: Perhaphs this is fixed in more recent *.mk files than 1.0 :-)