We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 695ea10 commit f58022dCopy full SHA for f58022d
1 file changed
Makefile
@@ -38,7 +38,7 @@ bootstrap:
38
# the Docker environment. Other alternatives are cross-compiling, doing
39
# the build as a `docker build`.
40
build:
41
- ${DEV_ENV_PREFIX} -e CGO_ENABLED=0 ${DEV_ENV_IMAGE} go build -a -installsuffix cgo -ldflags '-s' -o $(BINARY_DEST_DIR)/boot boot.go || exit 1
+ ${DEV_ENV_PREFIX} -e CGO_ENABLED=0 ${DEV_ENV_IMAGE} go build -a -installsuffix cgo -ldflags ${LDFLAGS} -o ${BINARY_DEST_DIR}/boot boot.go || exit 1
42
@$(call check-static-binary,$(BINARY_DEST_DIR)/boot)
43
44
test:
0 commit comments