|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [SOLARIS] Don't use -nostdinc as it preve
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID e2de39c56f92a15d782c650261044a3fde09c1fe
# Parent a77e38f63785d3196ac2a3a45effcbad70666929
[SOLARIS] Don't use -nostdinc as it prevents getting stadrg.h
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/arch/x86/Rules.mk | 7 ++++++-
xen/include/xen/stdarg.h | 2 +-
2 files changed, 7 insertions(+), 2 deletions(-)
diff -r a77e38f63785 -r e2de39c56f92 xen/arch/x86/Rules.mk
--- a/xen/arch/x86/Rules.mk Thu Oct 19 16:32:11 2006 +0100
+++ b/xen/arch/x86/Rules.mk Thu Oct 19 17:01:51 2006 +0100
@@ -11,7 +11,12 @@ pae ?= n
pae ?= n
supervisor_mode_kernel ?= n
-CFLAGS += -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
+# Solaris grabs stdarg.h and friends from the system include directory.
+ifneq ($(XEN_OS),SunOS)
+CFLAGS += -nostdinc
+endif
+
+CFLAGS += -fno-builtin -fno-common -fno-strict-aliasing
CFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipe
CFLAGS += -I$(BASEDIR)/include
CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-generic
diff -r a77e38f63785 -r e2de39c56f92 xen/include/xen/stdarg.h
--- a/xen/include/xen/stdarg.h Thu Oct 19 16:32:11 2006 +0100
+++ b/xen/include/xen/stdarg.h Thu Oct 19 17:01:51 2006 +0100
@@ -1,4 +1,4 @@
-#if defined(__OpenBSD__) || defined(__sun__)
+#if defined(__OpenBSD__)
# include "/usr/include/stdarg.h"
#else
# include <stdarg.h>
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [SOLARIS] Don't use -nostdinc as it prevents getting stadrg.h,
Xen patchbot-unstable <=
|
|
|
|
|