Fix NaCl system header files location
NATIVE_SYSTEM_HEADER_DIR is target makefile variable that describes where system headers are located, relative to file system root. Default is /usr/include.
When building a cross-compiler configured using --with-sysroot, CROSS_SYSTEM_HEADER_DIR is constructed from sysroot value followed by NATIVE_SYSTEM_HEADER_DIR.
We don’t have /usr/include on NaCl, so set this to /include.
This only affects configurations that use --with-sysroot, so the actual effect will become visible only when I add --with-sysroot to gcc configuration.
[email protected]
BUG=http://code.google.com/p/nativeclient/issues/detail?id=854
TEST=
Review URL: http://codereview.chromium.org/7170022
1 file changed