Date: Wed, 28 May 2014 15:59:47 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355639 - head/Mk Message-ID: <201405281559.s4SFxlIe033295@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405281559.s4SFxlIe033295>