1 |
commit: 8da39130c7e90e06481a6606d798c1ff65291e46 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 1 23:52:09 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 1 23:52:09 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-dev.git/commit/?id=8da39130 |
7 |
|
8 |
Revert "toolchain.eclass: sanely check if there are spec files to be installed" |
9 |
|
10 |
This reverts commit c5c2daa6ff0970a37747c58328df38b4ce57207f. |
11 |
|
12 |
Zorry already addressed this issue in the previous commit. |
13 |
|
14 |
eclass/toolchain.eclass | 6 +----- |
15 |
1 file changed, 1 insertion(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass |
18 |
index 40b2cf9..247dcee 100644 |
19 |
--- a/eclass/toolchain.eclass |
20 |
+++ b/eclass/toolchain.eclass |
21 |
@@ -1954,11 +1954,7 @@ copy_minispecs_gcc_specs() { |
22 |
fi |
23 |
create_gcc_env_entry vanilla |
24 |
insinto ${LIBPATH} |
25 |
- # Only doins if there are actually spec files in "${WORKDIR}"/specs/ |
26 |
- local SPECSDIR="${WORKDIR}"/specs/ |
27 |
- if [[ "$(ls -A ${SPECSDIR})" ]]; then |
28 |
- doins "${SPECSDIR}"/*.specs || die "failed to install specs" |
29 |
- fi |
30 |
+ doins "${WORKDIR}"/specs/*.specs || die "failed to install specs" |
31 |
# Build system specs file which, if it exists, must be a complete set of |
32 |
# specs as it completely and unconditionally overrides the builtin specs. |
33 |
if ! tc_version_is_at_least 4.4 ; then |