#!/bin/bash
-hvconfig()
-{
- cd ${LFS_TMP}/${PACKAGE}-build
+CC="${CC} ${CLFS_BUILDFLAGS}"
+PKG_CONFIG=true
- CC="${CC} ${CLFS_BUILDFLAGS}" PKG_CONFIG=true \
- ../${PACKAGE}/configure \
- --prefix=/tools \
- --enable-elf-shlibs \
- --with-linker=${LD} \
- --host=${CLFS_TARGET} \
- --disable-libblkid \
- --disable-libuuid \
- --disable-fsck \
- --disable-uuidd
-}
+CONFIGURE_OPTS="\
+ --prefix=/tools \
+ --enable-elf-shlibs \
+ --with-linker=${LD} \
+ --host=${CLFS_TARGET} \
+ --disable-libblkid \
+ --disable-libuuid \
+ --disable-fsck \
+ --disable-uuidd"
hvbuild()
{