mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Dynamically link to libgcc on Solaris. Also clean up duplicate -Wall flags.
Signed-off-by: John Levon <john.levon@sun.com>
This commit is contained in:
1 parent
af7afdc2a1
commit
a034a6ad0e
3 files changed
+3
-4
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
@@ -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 = []
|
||||
|
||||
@@ -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",
|
||||
|
||||