From d61113c5c7c2bceb9bab3dc97c51aa150ee8bf2f Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Tue, 17 Oct 2006 17:17:57 +0100 Subject: [SOLARIS] On Solaris, GCC is configured to use Sun's LD. Fix the build to use the correct flags, and link against libsocket where necessary. Signed-off-by: John Levon --- config/SunOS.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/SunOS.mk') diff --git a/config/SunOS.mk b/config/SunOS.mk index 0386ca2cbd..c1dd310587 100644 --- a/config/SunOS.mk +++ b/config/SunOS.mk @@ -20,6 +20,10 @@ INSTALL_PROG = $(INSTALL) -m0755 LIB64DIR = lib/amd64 +SOCKET_LIBS = -lsocket +SONAME_LDFLAG = -h +SHLIB_CFLAGS = -static-libgcc -shared + ifneq ($(debug),y) # Optimisation flags are overridable CFLAGS ?= -O2 -fno-omit-frame-pointer -- cgit v1.2.3