Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 1995 22:49:34 +0200
From:      Heikki Suonsivu <hsu@clinet.fi>
To:        freebsd-bugs@freefall.FreeBSD.org
Subject:   STRIP incorrectly set in bsd.prog.mk
Message-ID:  <199512172049.WAA13572@katiska.clinet.fi>

next in thread | raw e-mail | index | archive | help

bsd.prog.mk sets STRIP to -s even if DEBUG_FLAGS is set.

I changed

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

to

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

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.

-- 
Heikki Suonsivu, T{ysikuu 10 C 83/02210 Espoo/FINLAND,
hsu@clinet.fi  work +358-0-4375209 fax -4555276 home -8031121



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