Add arch=osx for isal to compile properly on MacOSX

master
Harshavardhana 10 years ago
parent 3ecb0e82a1
commit 8582391ef6
  1. 4
      Makefile

@ -28,7 +28,11 @@ endif
# @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/os/sysctl # @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/os/sysctl
build-storage: build-storage:
ifeq ($(ARCH), Darwin)
@$(MAKE) $(MAKE_OPTIONS) arch=osx -C pkg/storage/erasure/isal lib
else
@$(MAKE) $(MAKE_OPTIONS) -C pkg/storage/erasure/isal lib @$(MAKE) $(MAKE_OPTIONS) -C pkg/storage/erasure/isal lib
endif
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/storage/erasure @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/storage/erasure
build-minioapi: build-minioapi:

Loading…
Cancel
Save