summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-12-21 12:03:45 -0800
committerZac Medico <zmedico@gentoo.org>2011-12-21 12:03:45 -0800
commita164fd421a445bb12c1b2f127600d915cb4df057 (patch)
tree374b9ba3143de209269d48920263a30cdb70d733
parente1fa7120dffb4b2a603a38b40269a1cc28fcd39a (diff)
downloadportage-a164fd421a445bb12c1b2f127600d915cb4df057.tar.gz
portage-a164fd421a445bb12c1b2f127600d915cb4df057.tar.bz2
portage-a164fd421a445bb12c1b2f127600d915cb4df057.zip
s/QA_DT_SWITCHES/QA_CFLAGS_IGNORED/
-rwxr-xr-xbin/misc-functions.sh10
-rw-r--r--man/ebuild.52
-rw-r--r--man/make.conf.52
3 files changed, 7 insertions, 7 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index b6bd8ed36..4a1a2235b 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -311,20 +311,20 @@ install_qa_check() {
# Check for files built without respecting CFLAGS
if [[ "${CFLAGS}" == *-frecord-gcc-switches* ]] && \
! has binchecks ${RESTRICT} ; then
- qa_var="QA_DT_SWITCHES_${ARCH/-/_}"
- eval "[[ -n \${!qa_var} ]] && QA_DT_SWITCHES=(\"\${${qa_var}[@]}\")"
+ qa_var="QA_CFLAGS_IGNORED_${ARCH/-/_}"
+ eval "[[ -n \${!qa_var} ]] && QA_CFLAGS_IGNORED=(\"\${${qa_var}[@]}\")"
f=$(scanelf -qyRF '%k %p' -k \!.GCC.command.line "${ED}" | sed -e "s:\!.GCC.command.line ::")
if [[ -n ${f} ]] ; then
echo "${f}" > "${T}"/scanelf-ignored-CFLAGS.log
if [ "${QA_STRICT_DT_SWITCHES-unset}" == unset ] ; then
- if [[ ${#QA_DT_SWITCHES[@]} -gt 1 ]] ; then
- for x in "${QA_DT_SWITCHES[@]}" ; do
+ if [[ ${#QA_CFLAGS_IGNORED[@]} -gt 1 ]] ; then
+ for x in "${QA_CFLAGS_IGNORED[@]}" ; do
sed -e "s#^${x#/}\$##" -i "${T}"/scanelf-ignored-CFLAGS.log
done
else
local shopts=$-
set -o noglob
- for x in ${QA_DT_SWITCHES} ; do
+ for x in ${QA_CFLAGS_IGNORED} ; do
sed -e "s#^${x#/}\$##" -i "${T}"/scanelf-ignored-CFLAGS.log
done
set +o noglob
diff --git a/man/ebuild.5 b/man/ebuild.5
index 1216ac171..a9a26a72d 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -602,7 +602,7 @@ This should contain a list of file paths, relative to the image directory, of
files that contain writable and executable segments. These are rare.
The paths may contain fnmatch patterns.
.TP
-\fBQA_DT_SWITCHES\fR
+\fBQA_CFLAGS_IGNORED\fR
This should contain a list of file paths, relative to the image directory, of
files that do not contain .GCC.command.line sections. The paths may contain
regular expressions with escape\-quoted special characters.
diff --git a/man/make.conf.5 b/man/make.conf.5
index f9d69b71b..86b4d4bae 100644
--- a/man/make.conf.5
+++ b/man/make.conf.5
@@ -815,7 +815,7 @@ Set this to cause portage to ignore any \fIQA_TEXTREL\fR override
settings from ebuilds. See also \fBebuild\fR(5).
.TP
\fBQA_STRICT_DT_SWITCHES = \fI"set"\fR
-Set this to cause portage to ignore any \fIQA_DT_SWITCHES\fR override
+Set this to cause portage to ignore any \fIQA_CFLAGS_IGNORED\fR override
settings from ebuilds. See also \fBebuild\fR(5).
.TP
\fBQA_STRICT_DT_HASH = \fI"set"\fR