On Fri, Oct 8, 2010 at 1:48 PM, Wookey <woo...@wookware.org> wrote:
> +++ 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.

What do you mean by incorrect?  -Wpoison-system-directories warns if
an include file is picked up from /usr/include, /usr/local/include, or
/usr/X11R6/include.  My original email regarding /usr was incorrect.

-- Michael

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to