aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatarLibravatar William Ahern <william@solaris.(none)> 2012-09-27 13:11:30 -0700
committerLibravatarLibravatar William Ahern <william@solaris.(none)> 2012-09-27 13:11:30 -0700
commit7314a6aaddf0984258d5e04b27faee08de314821 (patch)
tree48c3ce632d32f2a4509b6fca3976d777f91ddd33 /Makefile
parent21dfde350145320964f034b0f26543f000de1538 (diff)
downloadluaossl-7314a6aaddf0984258d5e04b27faee08de314821.tar.gz
luaossl-7314a6aaddf0984258d5e04b27faee08de314821.tar.bz2
luaossl-7314a6aaddf0984258d5e04b27faee08de314821.zip
-n
fix solaris build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
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)