From 6164f0ac248aca5dbe2dbe12b8a335b5be44cd67 Mon Sep 17 00:00:00 2001 From: Janet Kuo Date: Wed, 10 Aug 2016 17:37:06 -0700 Subject: [PATCH 1/2] Build statically linked binaries in makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8ec2a4b9..efe708c1 100644 --- a/Makefile +++ b/Makefile @@ -12,10 +12,10 @@ BIND_DIR := bundles default: binary all: - ./script/make.sh + CGO_ENABLED=0 ./script/make.sh binary: - ./script/make.sh binary + CGO_ENABLED=0 ./script/make.sh binary clean: ./script/make.sh clean From daf8b80ef6847e1629fe50d02b4d494714fd1731 Mon Sep 17 00:00:00 2001 From: Janet Kuo Date: Wed, 10 Aug 2016 17:37:26 -0700 Subject: [PATCH 2/2] Remove 'make clean' --- Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Makefile b/Makefile index efe708c1..c78611d1 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,3 @@ all: binary: CGO_ENABLED=0 ./script/make.sh binary - -clean: - ./script/make.sh clean -