From f41146c75051160a482edd4a6702a75141478637 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Mon, 6 Apr 2015 00:18:25 +0300 Subject: [PATCH] Revert "Build static binaries on !OS X. #142" This reverts commit d56ac81fd66f6f6b30dc09412fe01213f4573ef0. --- Makefile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 4d4b41d1..a4c224aa 100644 --- a/Makefile +++ b/Makefile @@ -18,14 +18,6 @@ else GOM=gom endif -UNAME := $(shell uname) - -ifeq ($(UNAME), Darwin) -GOLDFLAGS= -else -GOLDFLAGS=--ldflags='-extldflags -static' -endif - all: test check system-test prepare: @@ -48,7 +40,7 @@ check: $(GOM) exec golint $(ALL_PACKAGES:%=./%) install: - $(GOM) build -o $(BINPATH)/aptly $(GOLDFLAGS) + $(GOM) build -o $(BINPATH)/aptly system-test: install if [ ! -e ~/aptly-fixture-db ]; then git clone https://github.com/aptly-dev/aptly-fixture-db.git ~/aptly-fixture-db/; fi