Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 455232 | Differences between
and this patch

Collapse All | Expand All

(-)a/bin/install-qa-check.d/10ignored-flags (-2 / +3 lines)
Lines 64-72 ignored_flag_check() { Link Here
64
	fi
64
	fi
65
65
66
	# Check for files built without respecting LDFLAGS
66
	# Check for files built without respecting LDFLAGS
67
	if [[ "${LDFLAGS}" == *,--hash-style=gnu* ]] && \
67
	if [[ "${LDFLAGS}" == *,--defsym=__gentoo_check_ldflags__* ]] && \
68
		! has binchecks ${RESTRICT} ; then
68
		! has binchecks ${RESTRICT} ; then
69
		f=$(scanelf -qyRF '#k%p' -k .hash "${ED}")
69
		f=$(comm -3 <(scanelf -qyRF '#k%p' -k .dynsym "${ED}") \
70
			<(scanelf -qyRF '#s%p' -s __gentoo_check_ldflags__ "${ED}"))
70
		if [[ -n ${f} ]] ; then
71
		if [[ -n ${f} ]] ; then
71
			echo "${f}" > "${T}"/scanelf-ignored-LDFLAGS.log
72
			echo "${f}" > "${T}"/scanelf-ignored-LDFLAGS.log
72
			if [ "${QA_STRICT_FLAGS_IGNORED-unset}" = unset ] ; then
73
			if [ "${QA_STRICT_FLAGS_IGNORED-unset}" = unset ] ; then

Return to bug 455232