Set std_json build flag in order to preserve case insensitive JSON key parsing

This commit is contained in:
Roland Shoemaker 2016-03-15 14:25:03 -07:00
parent 00b617b59a
commit 4d8c7a323f
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ BUILD_HOST_VAR = github.com/letsencrypt/boulder/core.BuildHost
BUILD_TIME = $(shell date -u)
BUILD_TIME_VAR = github.com/letsencrypt/boulder/core.BuildTime
GO_BUILD_FLAGS = -ldflags "-X \"$(BUILD_ID_VAR)=$(BUILD_ID)\" -X \"$(BUILD_TIME_VAR)=$(BUILD_TIME)\" -X \"$(BUILD_HOST_VAR)=$(BUILD_HOST)\""
GO_BUILD_FLAGS = -ldflags "-X \"$(BUILD_ID_VAR)=$(BUILD_ID)\" -X \"$(BUILD_TIME_VAR)=$(BUILD_TIME)\" -X \"$(BUILD_HOST_VAR)=$(BUILD_HOST)\"" -tags std_json
.PHONY: all build
all: build

View File

@ -38,7 +38,7 @@ def install(race_detection):
# BUILD_ID.
cmd = "make GO_BUILD_FLAGS='' "
if race_detection:
cmd = "make GO_BUILD_FLAGS='-race -tags integration'"
cmd = "make GO_BUILD_FLAGS='-race -tags \"std_json integration\"'"
return subprocess.call(cmd, shell=True) == 0