From 7314a6aaddf0984258d5e04b27faee08de314821 Mon Sep 17 00:00:00 2001 From: William Ahern Date: Thu, 27 Sep 2012 13:11:30 -0700 Subject: -n fix solaris build --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 739b87d..c6f7e4d 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,16 @@ VENDOR.CC = $(shell env CC="${CC}" ../mk/vendor.cc) CPPFLAGS = -I$(DESTDIR)$(lua52include) + +ifeq ($(VENDOR.CC), sunpro) +DFLAGS = -g +CFLAGS = -xcode=pic13 $(DFLAGS) +CPPFLAGS += -DOPENSSL_NO_EC +else DFLAGS = -g -Wall -Wextra -Wno-deprecated-declarations -Wno-unused CFLAGS = -fPIC $(DFLAGS) +endif + LDFLAGS = -lssl -lcrypto ifeq ($(VENDOR.OS), Darwin) -- cgit v1.2.3-59-g8ed1b