+++ Michael Hope [2010-10-08 13:52 +1300]:
Hi Marcin. Would you consider passing --enable-poison-system-directories to the cross compiler configure? This makes the '-Wpoison-system-directories' option available which warns you if the cross compiler picks up a library or header file from /usr instead of the cross-build environment.
That is correct for libraries, and probably headers for the time being, but as soon as we start installing to multiarch paths it will become incorrect for headers and would at least need adjusting for libraries.
Wookey