view sources/sections/distcc.build @ 1130:c222ae88733a

Add NO_CPLUSPLUS config option, to skip c++ support entirely.
author Rob Landley <rob@landley.net>
date Sun, 20 Jun 2010 16:25:35 -0500
parents 27c38c82401d
children 5c9d74b49fb5
line wrap: on
line source

rsync_cv_HAVE_C99_VSNPRINTF=yes \
LDFLAGS="$STATIC_FLAGS $LDFLAGS" CC="${ARCH}-cc" ./configure \
  --host="${CROSS_TARGET}" --prefix="$STAGE_DIR" \
  --with-included-popt --disable-Werror &&
make -j $CPUS &&
make -j $CPUS install &&
mkdir -p "$STAGE_DIR/distcc" || dienow

TEMP=""
[ -z "$NO_CPLUSPLUS" ] && TEMP="g++ c++"
for i in gcc cc $TEMP
do
  ln -s ../bin/distcc "$STAGE_DIR/distcc/$i" || dienow
done