diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-11-02 18:19:22 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-11-02 18:19:22 +0000 |
commit | a034a6ad0ef17fbd1e48b8a92ec5271ce15f249f (patch) | |
tree | c1e52a16528338ab20f8dc3a32dbfe89795d8ff5 | |
parent | af7afdc2a162a22d81b3b82a9f8784062e784bc0 (diff) | |
download | xen-a034a6ad0ef17fbd1e48b8a92ec5271ce15f249f.tar.gz xen-a034a6ad0ef17fbd1e48b8a92ec5271ce15f249f.tar.bz2 xen-a034a6ad0ef17fbd1e48b8a92ec5271ce15f249f.zip |
Dynamically link to libgcc on Solaris. Also clean up duplicate -Wall flags.
Signed-off-by: John Levon <john.levon@sun.com>
-rw-r--r-- | config/SunOS.mk | 2 | ||||
-rw-r--r-- | tools/pygrub/setup.py | 2 | ||||
-rw-r--r-- | tools/python/setup.py | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/config/SunOS.mk b/config/SunOS.mk index 21568304fc..5d548054d3 100644 --- a/config/SunOS.mk +++ b/config/SunOS.mk @@ -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 diff --git a/tools/pygrub/setup.py b/tools/pygrub/setup.py index a6a8d50d03..957c32c5b2 100644 --- a/tools/pygrub/setup.py +++ b/tools/pygrub/setup.py @@ -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 = [] diff --git a/tools/python/setup.py b/tools/python/setup.py index 640dcef000..56dd3e4a0b 100644 --- a/tools/python/setup.py +++ b/tools/python/setup.py @@ -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", |