-ipkg_cust ${ZLIB} cis-zlib
-ipkg_cust ${BINUTILS} cis-binutils
-ipkg_cust ${GCC_CORE} cis-gcc
-ipkg_ac ${NCURSES} "--with-shared --without-debug --without-ada --enable-overwrite --with-build-cc=gcc"
-ipkg_cust ${BASH} cis-bash
+ipkg_ac ${ZLIB}
+ipkg_ac ${BINUTILS} "\
+ --target=${CLFS_TARGET} \
+ --with-lib-path=/tools/lib \
+ --disable-nls \
+ --enable-shared \
+ --disable-multilib"
+ipkg_ac ${GCC} "\
+ --target=${CLFS_TARGET} \
+ --disable-multilib \
+ --with-local-prefix=/tools \
+ --libexecdir=/tools/lib \
+ --disable-nls \
+ --disable-libstdcxx-pch \
+ --enable-long-long \
+ --enable-c99 \
+ --enable-shared \
+ --enable-threads=posix \
+ --enable-__cxa_atexit \
+ --enable-languages=c,c++"
+ipkg_ac ${NCURSES} "\
+ --with-shared \
+ --without-debug \
+ --without-ada \
+ --enable-overwrite \
+ --with-build-cc=gcc"
+ipkg_ac ${BASH} "--without-bash-malloc"