WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [SOLARIS] Don't use -nostdinc as it preve

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [SOLARIS] Don't use -nostdinc as it prevents getting stadrg.h
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 19 Oct 2006 22:30:15 +0000
Delivery-date: Thu, 19 Oct 2006 15:39:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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 <=