1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #12992 from aidanhs/aphs-easy-debug-build

Allow passing DOCKER_DEBUG= to `make`
This commit is contained in:
Jessie Frazelle 2015-06-08 15:15:49 -07:00
commit 75f63499a0
2 changed files with 4 additions and 1 deletions

View file

@ -6,6 +6,7 @@
DOCKER_ENVS := \
-e BUILDFLAGS \
-e DOCKER_CLIENTONLY \
-e DOCKER_DEBUG \
-e DOCKER_EXECDRIVER \
-e DOCKER_EXPERIMENTAL \
-e DOCKER_GRAPHDRIVER \

View file

@ -128,7 +128,9 @@ fi
IAMSTATIC='true'
source "$SCRIPTDIR/make/.go-autogen"
LDFLAGS='-w'
if [ -z "$DOCKER_DEBUG" ]; then
LDFLAGS='-w'
fi
LDFLAGS_STATIC='-linkmode external'
# Cgo -H windows is incompatible with -linkmode external.