Use lazy assign bash var

This commit is contained in:
Kris Nova 2017-09-06 07:03:47 +08:00
parent f40fcd6ebe
commit 4712c1b4f4
1 changed files with 2 additions and 1 deletions

View File

@ -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}
#
#