# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 4c2d9a2ef1b74b883cb697acbca668753011d925
# Parent 4eac59fe1abcb939953109721a72d17b0b8c1b86
Dynamically link to libgcc on Solaris. Also clean up duplicate -Wall flags.
Signed-off-by: John Levon <john.levon@xxxxxxx>
---
config/SunOS.mk | 2 +-
tools/pygrub/setup.py | 2 +-
tools/python/setup.py | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
diff -r 4eac59fe1abc -r 4c2d9a2ef1b7 config/SunOS.mk
--- a/config/SunOS.mk Thu Nov 02 18:18:19 2006 +0000
+++ b/config/SunOS.mk Thu Nov 02 18:19:22 2006 +0000
@@ -21,7 +21,7 @@ SOCKET_LIBS = -lsocket
SOCKET_LIBS = -lsocket
CURSES_LIBS = -lcurses
SONAME_LDFLAG = -h
-SHLIB_CFLAGS = -static-libgcc -shared
+SHLIB_CFLAGS = -R /usr/sfw/$(LIBDIR) -shared
ifneq ($(debug),y)
# Optimisation flags are overridable
diff -r 4eac59fe1abc -r 4c2d9a2ef1b7 tools/pygrub/setup.py
--- a/tools/pygrub/setup.py Thu Nov 02 18:18:19 2006 +0000
+++ b/tools/pygrub/setup.py Thu Nov 02 18:19:22 2006 +0000
@@ -3,7 +3,7 @@ import os
import os
import sys
-extra_compile_args = [ "-fno-strict-aliasing", "-Wall", "-Werror" ]
+extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ]
fsys_mods = []
fsys_pkgs = []
diff -r 4eac59fe1abc -r 4c2d9a2ef1b7 tools/python/setup.py
--- a/tools/python/setup.py Thu Nov 02 18:18:19 2006 +0000
+++ b/tools/python/setup.py Thu Nov 02 18:19:22 2006 +0000
@@ -4,8 +4,7 @@ import os
XEN_ROOT = "../.."
-extra_compile_args = [ "-fno-strict-aliasing", "-Wall", "-Werror" ]
-
+extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ]
include_dirs = [ XEN_ROOT + "/tools/libxc",
XEN_ROOT + "/tools/xenstore",
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|