export AR=ar
export AS=as
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--host=${CLFS_HOST} \
--target=${CLFS_TARGET} \
--with-sysroot=${CLFS} \
--disable-multilib"
case "${HVL_TARGET}" in
- "x86_64")
- # This adds 64 bit support to Binutils.
- CONFIGURE_OPTS="${CONFIGURE_OPTS} --enable-64-bit-bfd"
- ;;
+ x86_64*)
+ CONFIGURE_OPTS+=" --enable-64-bit-bfd"
+ ;;
esac
}
export LDFLAGS="-Wl,-rpath,/cross-tools/lib"
# Common options for passes 1 & 2
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--build=${CLFS_HOST} \
--host=${CLFS_HOST} \
--target=${CLFS_TARGET} \
--disable-multilib"
if [ "x${HVLABEL}" = "x${GCC}-pass1" ]; then
- CONFIGURE_OPTS="${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--disable-shared \
--without-headers \
--with-newlib \
--disable-threads \
--enable-languages=c"
else
- CONFIGURE_OPTS="${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--enable-shared \
--enable-languages=c,c++ \
--enable-__cxa_atexit \
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--without-debug \
--without-shared"
}
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--target=${CLFS_TARGET} \
--with-lib-path=/tools/lib \
--disable-nls \
case "${HVL_TARGET}" in
"x86_64")
# This adds 64 bit support to Binutils.
- CONFIGURE_OPTS="${CONFIGURE_OPTS} --enable-64-bit-bfd"
+ CONFIGURE_OPTS+=" --enable-64-bit-bfd"
;;
esac
}
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--target=${CLFS_TARGET} \
--disable-multilib \
--with-local-prefix=/tools \
export CC="gcc -isystem /usr/include"
export LDFLAGS="-Wl,-rpath-link,/lib"
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--libdir=/usr/lib \
--enable-shared \
--disable-multilib"
${LFS_TMP}/${PACKAGE}/libiberty/Makefile.in
# This adds 64 bit support to Binutils.
- CONFIGURE_OPTS="${CONFIGURE_OPTS} --enable-64-bit-bfd"
+ CONFIGURE_OPTS+=" --enable-64-bit-bfd"
;;
esac
}
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--libexecdir=/usr/lib \
--enable-no-install-program=kill,uptime"
}
cd ${LFS_TMP}/${PACKAGE}
sed -i 's%\(^sbindir =\).*%\1 @prefix@@sbindir@%' server/Makefile.in
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--localstatedir=/var \
--sbindir=/sbin \
--with-srv-lease-file=/var/state/dhcp/dhcpd.leases \
{
export PKG_CONFIG=true
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--with-root-prefix=\"\" \
--enable-elf-shlibs \
--disable-libblkid \
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--disable-profile \
--enable-add-ons \
--enable-kernel=$(get_pkg_ver ${KERNEL}) \
"x86_64")
# Tell EGLIBC to install its libraries into /lib:
echo "slibdir=/lib" >> configparms
- CONFIGURE_OPTS="${CONFIGURE_OPTS} --libdir=/usr/lib"
+ CONFIGURE_OPTS+=" --libdir=/usr/lib"
;;
esac
}
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--libexecdir=/usr/lib/findutils \
--localstatedir=/var/lib/locate"
}
export CC="gcc -Wl,-rpath-link,/lib -isystem /usr/include"
export CXX="g++ -Wl,-rpath-link,/lib -isystem /usr/include"
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--libexecdir=/usr/lib \
--enable-shared \
--enable-threads=posix \
{
export PAGE=letter
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
- --enable-multibyte"
+ CONFIGURE_OPTS+=" --enable-multibyte"
}
hvconfig_post()
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
- --bindir=/bin"
+ CONFIGURE_OPTS+=" --bindir=/bin"
}
hvbuild_post()
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--libexecdir=/usr/sbin \
--localstatedir=/var \
--disable-ifconfig \
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
- --datadir=/lib/kbd"
+ CONFIGURE_OPTS+=" --datadir=/lib/kbd"
}
hvbuild_post()
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--libdir=/lib \
--with-shared \
--without-debug \
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
- --libdir=/lib"
-
+ CONFIGURE_OPTS+=" --libdir=/lib"
+
cd ${LFS_TMP}/${PACKAGE}
# Reinstalling Readline will cause the old libraries to be moved to
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
- --without-selinux"
+ CONFIGURE_OPTS+=" --without-selinux"
cd ${LFS_TMP}/${PACKAGE}
export CXX="g++ -isystem /usr/include"
export LDFLAGS="-Wl,-rpath-link,/lib"
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
- --shared"
+ CONFIGURE_OPTS+=" --shared"
}
hvconfig_post()