From 4712c1b4f45b45b658025d2cbce4a94a595f18fe Mon Sep 17 00:00:00 2001 From: Kris Nova Date: Wed, 6 Sep 2017 07:03:47 +0800 Subject: [PATCH] Use lazy assign bash var --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index afb05330..124c3cdb 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,10 @@ GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2> /dev/null) # Here we define custom epoll library flags for epoll_freebsd.go which # is running over the Linux API but compiled for BSD. Here be dragons. # +# @(kris-nova) # # -CFLAGS=-I /usr/local/include/libepoll-shim ${CFLAGS} +CFLAGS := -I /usr/local/include/libepoll-shim ${CFLAGS} LDFLAGS := -I ld -X github.com/containerd/containerd.GitCommit=${GIT_COMMIT} ${LDFLAGS} # #