* imported qemu/hotfix-glibc-2.41.patch
[t2sde.git] / package / develop / distcc / parse-config
bloba76d8a76c335509ce1f2148d096ba829d6fe2dea
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/distcc/parse-config
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 if [ "$SDECFG_PKG_DISTCC_USEIT" = 1 -a "`type -p distcc`" ]; then
13         unset ${!DISTCC_*}
14         #export DISTCC_VERBOSE=1
15         export DISTCC_HOSTS="$SDECFG_PKG_DISTCC_HOSTS"
17         # only using the KCC and GCC wrapper will work accidently, because
18         # GCC_* is utilized for any gcc based compilation - either C or C++
19         var_insert KCC_WRAPPER_OTHERS ":" "distcc"
20         var_insert GCC_WRAPPER_OTHERS ":" "distcc"
22         # distcc's dir is a valid place to write
23         flistvalid="$flistvalid|$HOME/.distcc"
25         # last but not least make sure the package does not depend on distcc
26         var_append flistrfilter "|" ".*bin/distcc"