From 3d1563524f3b6bc2313ff948efa8a6d3a45c11a3 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Tue, 14 Jun 2011 16:44:20 +0200 Subject: More fixes for the Solaris/x86 build. Thanks to Will Metcalf. --- src/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index e670953b..9f7bcfcc 100644 --- a/src/Makefile +++ b/src/Makefile @@ -292,7 +292,9 @@ ifeq (iOS,$(TARGET_SYS)) TARGET_XSHLDFLAGS+= -install_name $(PREFIX)/lib/$(TARGET_DYLIBNAME) endif else - TARGET_XLDFLAGS+= -Wl,-E + ifneq (SunOS,$(TARGET_SYS)) + TARGET_XLDFLAGS+= -Wl,-E + endif ifeq (Linux,$(TARGET_SYS)) TARGET_XLIBS+= -ldl endif @@ -420,6 +422,9 @@ endif ifeq (iOS,$(TARGET_SYS)) LJVM_MODE= machasm endif +ifeq (SunOS,$(TARGET_SYS)) + BUILDMODE= static +endif ifeq (static,$(BUILDMODE)) TARGET_DYNCC= @: -- cgit v1.2.3-55-g6feb