Skip to contentSkip to conversation

libgcc fix for Solaris

PATCH New John Levon 1 participant 1 message Nov 2, 2006

lore
Share & tools
lore

John Levon

author
#0 lore raw

PATCH 1/1 libgcc fix for Solaris

# HG changeset patch
# User [email protected]
# Date 1162432319 28800
# Node ID a91686ea2b7791b9adbcfbc9c7e9b594b6a888b0
# Parent f6cb0c9948b2f4ba870e3f6e0447386d1fc159f3 Dynamically link to libgcc on Solaris. Also clean up duplicate -Wall flags.

config/SunOS.mk +1 -1
@@ -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
tools/pygrub/setup.py +1 -1
@@ -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 = []
tools/python/setup.py +1 -2
@@ -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",