--with-sysroot=${CLFS} \
--with-lib-path=${CLFS}/dummy-directory/ \
--disable-nls \
- --enable-shared \
- --disable-multilib"
+ --enable-shared"
+
+ if [ x"${HVL_TARGET}" == x"avr" ]; then
+ CONFIGURE_OPTS+="--enable-multilib"
+ else
+ CONFIGURE_OPTS+="--disable-multilib"
+ fi
# --enable-64-bit-bfd:
# bfd = Binary File Descriptor
--with-cloog=${CROSS_TOOLS_DIR} \
--with-mpc=${CROSS_TOOLS_DIR}
--with-system-zlib \
- --enable-checking=release \
- --disable-multilib"
+ --enable-checking=release"
+
+ if [ x"${HVL_TARGET}" == x"avr" ]; then
+ CONFIGURE_OPTS+="--enable-multilib"
+ else
+ CONFIGURE_OPTS+="--disable-multilib"
+ fi
if [ "x${HVLABEL}" = "x${GCC}-pass1" ]; then
# --without-headers: