svn commit: r355639 - head/Mk
Baptiste Daroussin
bapt at FreeBSD.org
Wed May 28 15:59:47 UTC 2014
Author: bapt
Date: Wed May 28 15:59:47 2014
New Revision: 355639
URL: http://svnweb.freebsd.org/changeset/ports/355639
QAT: https://qat.redports.org/buildarchive/r355639/
Log:
Add a new option, INSTALL_STRIPPED,
which is intended to be used with WITH_DEBUG, allowing the system to build
packages with debugging symbols enabled and kept in build environment but
do not install them with the resulting binaries.
PR: ports/185309
Submitted by: delphij
Reviewed by: bdrewery
Modified:
head/Mk/bsd.port.mk
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Wed May 28 15:52:22 2014 (r355638)
+++ head/Mk/bsd.port.mk Wed May 28 15:59:47 2014 (r355639)
@@ -1619,9 +1619,11 @@ CFLAGS:= ${CFLAGS:C/${_CPUCFLAGS}//}
# Reset value from bsd.own.mk.
.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG)
+.if !defined(INSTALL_STRIPPED)
STRIP= #none
MAKE_ENV+= DONTSTRIP=yes
STRIP_CMD= ${TRUE}
+.endif
DEBUG_FLAGS?= -g
CFLAGS:= ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS}
.if defined(INSTALL_TARGET)
More information about the svn-ports-all
mailing list