Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 2013 00:41:09 +0800
From:      Sunpoet Hsieh <sunpoet@sunpoet.net>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers <ports-committers@freebsd.org>
Subject:   Re: svn commit: r330810 - head/Mk/Scripts
Message-ID:  <CAMHz58SVB0T3%2BgUk45UfzQVYYZtqXkjGYGot1HEVAXMbnXWO4w@mail.gmail.com>
In-Reply-To: <201310190017.r9J0HAbg020596@svn.freebsd.org>
References:  <201310190017.r9J0HAbg020596@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 19, 2013 at 8:17 AM, Baptiste Daroussin <bapt@freebsd.org>wrote:

> Author: bapt
> Date: Sat Oct 19 00:17:10 2013
> New Revision: 330810
> URL: http://svnweb.freebsd.org/changeset/ports/330810
>
> Log:
>   Recommand to use STRIP_CMD to strip binaries given that it will respect
> the WITH_DEBUG option
>
> Modified:
>   head/Mk/Scripts/qa.sh
>
> Modified: head/Mk/Scripts/qa.sh
>
> ==============================================================================
> --- head/Mk/Scripts/qa.sh       Sat Oct 19 00:14:22 2013        (r330809)
> +++ head/Mk/Scripts/qa.sh       Sat Oct 19 00:17:10 2013        (r330810)
> @@ -66,7 +66,7 @@ stripped() {
>         for f in `find ${STAGEDIR} -type f`; do
>                 output=`/usr/bin/file ${f}`
>                 case "${output}" in
> -               *:*\ ELF\ *,\ not\ stripped*) warn "${f} is not stripped";;
> +               *:*\ ELF\ *,\ not\ stripped*) warn "${f} is not stripped
> consider using \${STRIP_CMD}";;
>                 esac
>         done
>  }
> _______________________________________________
> svn-ports-all@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
>

MAKE_ENV=       INSTALL_STRIP_FLAG=${STRIP}
is also a possible way which respects WITH_DEBUG.
Could this be added to qa.sh?

Regards,
sunpoet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58SVB0T3%2BgUk45UfzQVYYZtqXkjGYGot1HEVAXMbnXWO4w>