diff options
| author | James Bottomley <james.bottomley@steeleye.com> | 2005-01-25 06:00:23 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-25 06:00:23 -0800 |
| commit | 0bfe221f282f6050b0e999efa9840f67b4fc4d86 (patch) | |
| tree | ec126d16140c247bef5345c4054baa26a4d978df /include/linux | |
| parent | 2bf829524ebb1cebc4cf24331e02ff201c5d4240 (diff) | |
[PATCH] fix broken cross compiles
The change to kbuild to use -isystem `gcc -print-file-name=include`
broke our parisc crosscompile (and presumably everyone else's).
The reason is that you have a := in the NOSTDINC_FLAGS rule, which is
evaluated in situ (i.e. before we've had a chance to set CROSSCOMPILE
on CC) so the gcc include path is actually the native one not the
crosscompiler one. On parisc this causes us to be unable to handle
_builtin_va functions, but I bet there are a heap of other problems.
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
