diff -r 4960f5d9f829 -r 2ed26c646568 scripts/crosstool-NG.sh.in --- a/scripts/crosstool-NG.sh.in Wed Jan 26 19:13:18 2011 +0100 +++ b/scripts/crosstool-NG.sh.in Sat Jan 22 23:20:18 2011 +0100 @@ -472,6 +472,13 @@ done done + # Some makeinfo versions are a pain in [put your most sensible body part here]. + # Go ahead with those, by creating a wrapper that keeps partial files, and that + # never fails: + CT_DoLog DEBUG " 'makeinfo' -> '$(CT_Which makeinfo)'" + printf "#${BANG}${CT_SHELL}\n$(CT_Which makeinfo) --force \"\${@}\"\ntrue\n" >"${CT_PREFIX_DIR}/buildtools/makeinfo" + CT_DoExecLog ALL chmod 700 "${CT_PREFIX_DIR}/buildtools/makeinfo" + # Carefully add paths in the order we want them: # - first try in ${CT_PREFIX_DIR}/bin # - then try in ${CT_CC_CORE_SHARED_PREFIX_DIR}/bin @@ -485,13 +492,6 @@ *) ;; esac - # Some makeinfo versions are a pain in [put your most sensible body part here]. - # Go ahead with those, by creating a wrapper that keeps partial files, and that - # never fails: - CT_DoLog DEBUG " 'makeinfo' -> '$(CT_Which makeinfo)'" - printf "#${BANG}${CT_SHELL}\n$(CT_Which makeinfo) --force \"\${@}\"\ntrue\n" >"${CT_PREFIX_DIR}/buildtools/makeinfo" - CT_DoExecLog ALL chmod 700 "${CT_PREFIX_DIR}/buildtools/makeinfo" - # Help gcc CT_CFLAGS_FOR_HOST= [ "${CT_USE_PIPES}" = "y" ] && CT_CFLAGS_FOR_HOST="${CT_CFLAGS_FOR_HOST} -pipe"