docker-proxy: Force external linking to add BuildID information to please rpm

Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 9a690d3544)
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Tibor Vass 2016-07-12 19:59:48 -07:00
parent e4c35bd74c
commit 3cad13f679

View file

@ -11,5 +11,6 @@ set -e
source "${MAKEDIR}/.binary"
export BINARY_SHORT_NAME='docker-proxy'
export SOURCE_PATH='./vendor/src/github.com/docker/libnetwork/cmd/proxy'
export LDFLAGS_STATIC_DOCKER='-linkmode=external'
source "${MAKEDIR}/.binary"
)