if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" || "${SMGL_COMPAT_ARCHS[1]}" == "em64t" ]]
then
  if [[ $(get_kernel_config CONFIG_IA32_EMULATION) != "y" &&
        $(get_kernel_config CONFIG_IA32_EMULATION) != "m" ]]
  then
    message "${PROBLEM_COLOR}You are running x86_64 and need to enable"      \
            "IA32 emulation support (CONFIG_IA32_EMULATION) in your kernel"  \
            "for ${SPELL_COLOR}$SPELL${DEFAULT_COLOR}${PROBLEM_COLOR} to"    \
            "compile.${DEFAULT_COLOR}"
  return 1
  fi
fi  &&

default_pre_build &&
cd $SOURCE_DIRECTORY &&
# fix compilation issue with Makefile looking for static libpci
patch -p1 < $SCRIPT_DIRECTORY/libpci-shared.patch
