diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-09-30 01:07:57 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-09-30 01:07:57 +0200 |
commit | 2ca8d5bb635d8f9db68d87e078f4ce4f410e9152 (patch) | |
tree | f8d386b3503852656e47769f49f2fe96e2d89ccc /gen_funcs.sh | |
parent | gen_funcs.sh: _tc-getPROG(): Quote type command argument (diff) | |
download | genkernel-2ca8d5bb635d8f9db68d87e078f4ce4f410e9152.tar.gz genkernel-2ca8d5bb635d8f9db68d87e078f4ce4f410e9152.tar.bz2 genkernel-2ca8d5bb635d8f9db68d87e078f4ce4f410e9152.zip |
Add --utils-cxx option
To compile thin-provisioning-tools, required for LVM thin provisioning
support which was added in commit 9dea735590ebfff278710148fa8743777a18c4bd,
we need a C++ compiler.
This option will allow user to specify custom C++ compiler (for example
when using ccache/distcc).
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_funcs.sh')
-rwxr-xr-x | gen_funcs.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gen_funcs.sh b/gen_funcs.sh index 23f6d30a..1d4a91d2 100755 --- a/gen_funcs.sh +++ b/gen_funcs.sh @@ -1061,6 +1061,9 @@ _tc-getPROG() { CC) [[ -n "${multilib_cflags}" ]] && prog+=( "${multilib_cflags}" ) ;; + CXX) + [[ -n "${multilib_cflags}" ]] && prog+=( "${multilib_cflags}" ) + ;; LD) [[ -n "${multilib_ldflags}" ]] && prog+=( "${multilib_ldflags}" ) ;; |