You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
1.1 KiB

# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../distcc/parse-config
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# 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 as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- 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