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