message: gitian: use CONFIG_SITE rather than hijacking the prefix (linux only)
diff: @@ -86,7 +86,7 @@ script: |
  # Create the release tarball using (arbitrarily) the first host
  ./autogen.sh
  - ./configure --prefix=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`
  + CONFIG_SITE=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`/share/config.site ./configure --prefix=/
  make dist
  SOURCEDIST=`echo bitcoinUnlimited-*.tar.gz`
  DISTNAME=`echo ${SOURCEDIST} | sed 's/.tar.*//'`
  @@ -106,12 +106,11 @@ script: |
  INSTALLPATH=`pwd`/installed/${DISTNAME}
  mkdir -p ${INSTALLPATH}
  tar --strip-components=1 -xf ../$SOURCEDIST
  - echo ./configure --prefix=${BASEPREFIX}/${i} --bindir=${INSTALLPATH}/bin --includedir=${INSTALLPATH}/include --libdir=${INSTALLPATH}/lib --disable-ccache --disable-maintainer-mode --disable-dependency-tracking ${CONFIGFLAGS}
  - ./configure --prefix=${BASEPREFIX}/${i} --bindir=${INSTALLPATH}/bin --includedir=${INSTALLPATH}/include --libdir=${INSTALLPATH}/lib --disable-ccache --disable-maintainer-mode --disable-dependency-tracking ${CONFIGFLAGS}
  + CONFIG_SITE=${BASEPREFIX}/${i}/share/config.site ./configure --prefix=/ --disable-ccache --disable-maintainer-mode --disable-dependency-tracking ${CONFIGFLAGS}
  make ${MAKEOPTS}
  make ${MAKEOPTS} -C src check-security
  make ${MAKEOPTS} -C src check-symbols
  - make install-strip
  + make install-strip DESTDIR=${INSTALLPATH}
  # BU save the executables with debug symbols
  cp -f src/bitcoind ${OUTDIR}/bitcoind-${i}.debug
  cp -f src/qt/bitcoin-qt ${OUTDIR}/bitcoin-qt-${i}.debug
  