diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
| @@ -13,8 +13,16 @@ VENDOR.CC = $(shell env CC="${CC}" ../mk/vendor.cc) | |||
| 13 | 13 | ||
| 14 | 14 | ||
| 15 | CPPFLAGS = -I$(DESTDIR)$(lua52include) | 15 | CPPFLAGS = -I$(DESTDIR)$(lua52include) |
| 16 | |||
| 17 | ifeq ($(VENDOR.CC), sunpro) | ||
| 18 | DFLAGS = -g | ||
| 19 | CFLAGS = -xcode=pic13 $(DFLAGS) | ||
| 20 | CPPFLAGS += -DOPENSSL_NO_EC | ||
| 21 | else | ||
| 16 | DFLAGS = -g -Wall -Wextra -Wno-deprecated-declarations -Wno-unused | 22 | DFLAGS = -g -Wall -Wextra -Wno-deprecated-declarations -Wno-unused |
| 17 | CFLAGS = -fPIC $(DFLAGS) | 23 | CFLAGS = -fPIC $(DFLAGS) |
| 24 | endif | ||
| 25 | |||
| 18 | LDFLAGS = -lssl -lcrypto | 26 | LDFLAGS = -lssl -lcrypto |
| 19 | 27 | ||
| 20 | ifeq ($(VENDOR.OS), Darwin) | 28 | ifeq ($(VENDOR.OS), Darwin) |
