Dynamically link to libgcc on Solaris. Also clean up duplicate -Wall flags.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 2 Nov 2006 18:19:22 +0000 (18:19 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 2 Nov 2006 18:19:22 +0000 (18:19 +0000)
Signed-off-by: John Levon <john.levon@sun.com>
config/SunOS.mk
tools/pygrub/setup.py
tools/python/setup.py

index 21568304fc7d640c6bc2aa77d952cb0619f33877..5d548054d30860291c77235460d364ed7d8ca961 100644 (file)
@@ -21,7 +21,7 @@ LIB64DIR = lib/amd64
 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
index a6a8d50d03c3bdc3fab914b2976885b09a8db6bf..957c32c5b22f881a4e767d443dff5b0535d5ca13 100644 (file)
@@ -3,7 +3,7 @@ from distutils.ccompiler import new_compiler
 import os
 import sys
 
-extra_compile_args  = [ "-fno-strict-aliasing", "-Wall", "-Werror" ]
+extra_compile_args  = [ "-fno-strict-aliasing", "-Werror" ]
 
 fsys_mods = []
 fsys_pkgs = []
index 640dcef0008953a01ce9c175514edf311569c3ed..56dd3e4a0b61d9aac18ed101b1f4ce1f99bbf5f1 100644 (file)
@@ -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",