1 |
commit: e73ff12ad96fd7ea5cb80561dae6418dbe855096 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 29 23:01:08 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 29 23:01:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=e73ff12a |
7 |
|
8 |
gen_funcs.sh: get_chost_libdir(): Don't quote tc-getCC() return value |
9 |
|
10 |
This will allow user to set UTILS_CC="distcc gcc" for example. |
11 |
|
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
gen_funcs.sh | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/gen_funcs.sh b/gen_funcs.sh |
18 |
index 9e7d573..2fe88fb 100755 |
19 |
--- a/gen_funcs.sh |
20 |
+++ b/gen_funcs.sh |
21 |
@@ -792,7 +792,7 @@ debug_breakpoint() { |
22 |
get_chost_libdir() { |
23 |
local cc=$(tc-getCC) |
24 |
|
25 |
- local test_file=$("${cc}" -print-file-name=libnss_files.so 2>/dev/null) |
26 |
+ local test_file=$(${cc} -print-file-name=libnss_files.so 2>/dev/null) |
27 |
if [ -z "${test_file}" ] |
28 |
then |
29 |
gen_die "$(get_useful_function_stack "${FUNCNAME}")Unable to determine CHOST's libdir: '${cc} -print-file-name=libnss_files.so' returned nothing!" |