forked from smarkets/erlang-bcrypt
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Milestone
Description
@Licenser and @siepkes we have released 1.1.0 - but I now realize that our new Makefile (based on erlang-mk) does not include any special options for Solaris or SmartOS.
UNAME_SYS := $(shell uname -s)
ifeq ($(UNAME_SYS), Darwin)
CC ?= cc
CFLAGS ?= -O3 -std=c99 -arch x86_64 -Wall -Wmissing-prototypes
LDFLAGS ?= -arch x86_64 -flat_namespace -undefined suppress
DRV_LDFLAGS = -flat_namespace -undefined suppress $(ERL_LDFLAGS)
else ifeq ($(UNAME_SYS), FreeBSD)
CC ?= cc
CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes
DRV_LDFLAGS = $(ERL_LDFLAGS)
else ifeq ($(UNAME_SYS), Linux)
CC ?= gcc
CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes
DRV_LDFLAGS = $(ERL_LDFLAGS)
endifCould you have a look?
Metadata
Metadata
Assignees
Labels
No labels