From: kfraser@localhost.localdomain Date: Thu, 2 Nov 2006 18:19:22 +0000 (+0000) Subject: Dynamically link to libgcc on Solaris. Also clean up duplicate -Wall flags. X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a034a6ad0ef17fbd1e48b8a92ec5271ce15f249f;p=xen.git Dynamically link to libgcc on Solaris. Also clean up duplicate -Wall flags. Signed-off-by: John Levon --- 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",