Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 1995 10:16:20 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@freefall.freebsd.org, hsu@clinet.fi
Subject:   Re: STRIP incorrectly set in bsd.prog.mk
Message-ID:  <199512172316.KAA24095@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>bsd.prog.mk sets STRIP to -s even if DEBUG_FLAGS is set.

This is correct.

>I changed

>.if !defined(DEBUG_FLAGS)
>STRIP?= -s
>.endif

>to

>.if !defined(DEBUG_FLAGS)
>STRIP?= -s
>.else
>STRIP=
>.endif

Just set `STRIP='

>and the problem went away.  No sense compiling with -g if -s will be forced
>in the install.  I don't know why -s is set in the first place, though, so
>this is just a workaround.

-s is to save space, and you can easily debug the uninstalled binaries
if you have space to keep them.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512172316.KAA24095>