xen: move -nostdinc into common Rules.mk.
authorTim Deegan <tim@xen.org>
Thu, 15 Aug 2013 10:57:52 +0000 (11:57 +0100)
committerTim Deegan <tim@xen.org>
Thu, 15 Aug 2013 15:38:52 +0000 (16:38 +0100)
commit06a9c7e1928da40370d03515c68410a58989c274
tree023750427c365cf350c2787b7f007b12ac10cda5
parentf5a54e9235a72b6f371c522d16ca2e74c25896cf
xen: move -nostdinc into common Rules.mk.

Previously we didn't use it at all the on ARM ports or for clang builds.

For ARM, I think this is just an oversight.

For clang, this used not to work, because '-withprefix include' didn't
let us see stdarg.h, but that's fixed in clang v3.0.

Also move the '-withprefix include' to beside -nostdinc as it's only
needed with -nostdinc anyway.

Signed-off-by: Tim Deegan <tim@xen.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/Rules.mk
xen/arch/x86/Rules.mk