aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg (Zorry) <zorry@gentoo.org>2010-04-17 01:49:50 +0200
committerMagnus Granberg (Zorry) <zorry@gentoo.org>2010-04-17 01:49:50 +0200
commit7387b1a6cd828bd3d4dd67569bd71ad346c7c132 (patch)
treecb242db77734453ef5dcf2b052ce62406af04dca /eclass/toolchain.eclass
parenteclass/toolchain.eclass needed fix for vanilla and hardened use flag (diff)
downloadhardened-dev-7387b1a6cd828bd3d4dd67569bd71ad346c7c132.tar.gz
hardened-dev-7387b1a6cd828bd3d4dd67569bd71ad346c7c132.tar.bz2
hardened-dev-7387b1a6cd828bd3d4dd67569bd71ad346c7c132.zip
eclass/toolchain.eclass needed fix for vanilla and hardened use flag part2
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index ae6a0b13..db1bd247 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -513,7 +513,9 @@ want_split_specs() {
want_minispecs() {
if tc_version_is_at_least 4.3.2 && use hardened && [[ -z ${ESPF_VER} ]] ; then
! use vanilla && want_pie && [[ -n ${SPECS_VER} ]] && return 0
- ewarn "Hope you know what you are doing. Hardened will not work." && return 0
+ ewarn "Hope you know what you are doing. Hardened will not work."
+ ewarn" You have vanilla or nopie in USE when you have enable hardened or you don't have the needed patchset added."
+ return 0
fi
return 1
}
@@ -521,7 +523,9 @@ want_espf() {
if tc_version_is_at_least 4.3.4 && use hardened && [[ -z ${PIE_VER} ]]; then
espf_arch_support || ewarn "ESPF is not supported on this $(tc-arch) arch."
! use vanilla && [[ -n ${ESPF_VER} ]] && return 0
- ewarn "Hope you know what you are doing. Hardened will not work." && return 0
+ ewarn "Hope you know what you are doing. Hardened will not work."
+ ewarn" You have vanilla in USE when you have enable hardened or you don't have the needed patchset added."
+ return 0
fi
return 1
}