From 8582391ef6bf1cffb86fb396a8f674c93b2f2398 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Wed, 21 Jan 2015 15:04:51 -0800 Subject: [PATCH] Add arch=osx for isal to compile properly on MacOSX --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 3d3100848..e2d713871 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,11 @@ endif # @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/os/sysctl 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 +endif @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/storage/erasure build-minioapi: