diff sources/sections/distcc.build @ 1812:acaa88463c0c draft

Add CROSS_COMPILER_PATH and CC_PREFIX knobs.
author Rob Landley <rob@landley.net>
date Thu, 12 Nov 2015 07:55:05 -0600
parents 5c9d74b49fb5
children
line wrap: on
line diff
--- a/sources/sections/distcc.build	Thu Nov 12 07:54:10 2015 -0600
+++ b/sources/sections/distcc.build	Thu Nov 12 07:55:05 2015 -0600
@@ -1,5 +1,5 @@
 rsync_cv_HAVE_C99_VSNPRINTF=yes \
-LDFLAGS="$STATIC_FLAGS $LDFLAGS" CC="${ARCH}-cc" ./configure \
+LDFLAGS="$STATIC_FLAGS $LDFLAGS" CC="${CC_PREFIX}cc" ./configure \
   --host="${CROSS_TARGET}" --prefix="$STAGE_DIR" --bindir="$STAGE_DIR/distcc" \
   --with-included-popt --disable-Werror &&
 make -j $CPUS &&