ia64/xen-unstable

changeset 12228:4c2d9a2ef1b7

Dynamically link to libgcc on Solaris. Also clean up duplicate -Wall flags.
Signed-off-by: John Levon <john.levon@sun.com>
author kfraser@localhost.localdomain
date Thu Nov 02 18:19:22 2006 +0000 (2006-11-02)
parents 4eac59fe1abc
children 20204db0891b
files config/SunOS.mk tools/pygrub/setup.py tools/python/setup.py
line diff
     1.1 --- a/config/SunOS.mk	Thu Nov 02 18:18:19 2006 +0000
     1.2 +++ b/config/SunOS.mk	Thu Nov 02 18:19:22 2006 +0000
     1.3 @@ -21,7 +21,7 @@ LIB64DIR = lib/amd64
     1.4  SOCKET_LIBS = -lsocket
     1.5  CURSES_LIBS = -lcurses
     1.6  SONAME_LDFLAG = -h
     1.7 -SHLIB_CFLAGS = -static-libgcc -shared
     1.8 +SHLIB_CFLAGS = -R /usr/sfw/$(LIBDIR) -shared
     1.9  
    1.10  ifneq ($(debug),y)
    1.11  # Optimisation flags are overridable
     2.1 --- a/tools/pygrub/setup.py	Thu Nov 02 18:18:19 2006 +0000
     2.2 +++ b/tools/pygrub/setup.py	Thu Nov 02 18:19:22 2006 +0000
     2.3 @@ -3,7 +3,7 @@ from distutils.ccompiler import new_comp
     2.4  import os
     2.5  import sys
     2.6  
     2.7 -extra_compile_args  = [ "-fno-strict-aliasing", "-Wall", "-Werror" ]
     2.8 +extra_compile_args  = [ "-fno-strict-aliasing", "-Werror" ]
     2.9  
    2.10  fsys_mods = []
    2.11  fsys_pkgs = []
     3.1 --- a/tools/python/setup.py	Thu Nov 02 18:18:19 2006 +0000
     3.2 +++ b/tools/python/setup.py	Thu Nov 02 18:19:22 2006 +0000
     3.3 @@ -4,8 +4,7 @@ import os
     3.4  
     3.5  XEN_ROOT = "../.."
     3.6  
     3.7 -extra_compile_args  = [ "-fno-strict-aliasing", "-Wall", "-Werror" ]
     3.8 -
     3.9 +extra_compile_args  = [ "-fno-strict-aliasing", "-Werror" ]
    3.10  
    3.11  include_dirs = [ XEN_ROOT + "/tools/libxc",
    3.12                   XEN_ROOT + "/tools/xenstore",