|
@@ -137,6 +137,8 @@ build/linux-mips-softfloat/%: LDFLAGS += -s -w
|
|
|
# boringcrypto
|
|
|
build/linux-amd64-boringcrypto/%: GOENV += GOEXPERIMENT=boringcrypto CGO_ENABLED=1
|
|
|
build/linux-arm64-boringcrypto/%: GOENV += GOEXPERIMENT=boringcrypto CGO_ENABLED=1
|
|
|
+build/linux-amd64-boringcrypto/%: LDFLAGS += -checklinkname=0
|
|
|
+build/linux-arm64-boringcrypto/%: LDFLAGS += -checklinkname=0
|
|
|
|
|
|
build/%/nebula: .FORCE
|
|
|
GOOS=$(firstword $(subst -, , $*)) \
|
|
@@ -170,7 +172,7 @@ test:
|
|
|
go test -v ./...
|
|
|
|
|
|
test-boringcrypto:
|
|
|
- GOEXPERIMENT=boringcrypto CGO_ENABLED=1 go test -v ./...
|
|
|
+ GOEXPERIMENT=boringcrypto CGO_ENABLED=1 go test -ldflags "-checklinkname=0" -v ./...
|
|
|
|
|
|
test-pkcs11:
|
|
|
CGO_ENABLED=1 go test -v -tags pkcs11 ./...
|