Lucio Andrés Illanes Albornoz (arab, vxp) 7a180c
#
Lucio Andrés Illanes Albornoz (arab, vxp) 802215
# set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) 7a180c
#
Lucio Andrés Illanes Albornoz (arab, vxp) 7a180c
Lucio Andrés Illanes Albornoz (arab, vxp) 154865
post_strip() {
Lucio Andrés Illanes Albornoz (arab, vxp) 802215
	local __;
Lucio Andrés Illanes Albornoz (arab, vxp) 05e618
	if [ "${BUILD}" = release ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
		for __ in $(find ${PREFIX_NATIVE}/bin -perm -0100 \( -type f -or -type l \)); do
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
			if objdump -sj .debug_info >/dev/null 2>&1; then
Lucio Andrés Illanes Albornoz (arab, vxp) 02175d
				log_msg vnfo "${PKG_TARGET}-strip ${__}";
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
				set +o errexit; ${PKG_TARGET}-strip ${__}; set -o errexit;
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
			fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
		done;
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
	fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
};
Lucio Andrés Illanes Albornoz (arab, vxp) 7a180c
Lucio Andrés Illanes Albornoz (arab, vxp) 7a180c
# vim:filetype=sh