view sources/sections/distcc.build @ 1675:a87931846137

Have ccwrap autodetect which dynamic linker to use, musl's or uClibc's. Give musl a ld-musl.so.0 symlink so we can tell which libc we're using.
author Rob Landley <rob@landley.net>
date Sun, 17 Aug 2014 13:03:48 -0500
parents 5c9d74b49fb5
children acaa88463c0c
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" --bindir="$STAGE_DIR/distcc" \
  --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 distcc "$STAGE_DIR/distcc/$i" || dienow
done