mirror of
https://github.com/slackhq/nebula.git
synced 2025-11-09 06:23:57 +01:00
WIP
This commit is contained in:
parent
3da3d41fb5
commit
6da314aa6b
12
Makefile
12
Makefile
@ -120,13 +120,17 @@ bin-pkcs11: BUILD_ARGS += -tags pkcs11
|
|||||||
bin-pkcs11: CGO_ENABLED = 1
|
bin-pkcs11: CGO_ENABLED = 1
|
||||||
bin-pkcs11: bin
|
bin-pkcs11: bin
|
||||||
|
|
||||||
|
bin-fips140: GOENV += GOFIPS140=v1.0.0
|
||||||
|
bin-fips140: LDFLAGS += -checklinkname=0
|
||||||
|
bin-fips140: bin
|
||||||
|
|
||||||
bin:
|
bin:
|
||||||
go build $(BUILD_ARGS) -ldflags "$(LDFLAGS)" -o ./nebula${NEBULA_CMD_SUFFIX} ${NEBULA_CMD_PATH}
|
$(GOENV) go build $(BUILD_ARGS) -ldflags "$(LDFLAGS)" -o ./nebula${NEBULA_CMD_SUFFIX} ${NEBULA_CMD_PATH}
|
||||||
go build $(BUILD_ARGS) -ldflags "$(LDFLAGS)" -o ./nebula-cert${NEBULA_CMD_SUFFIX} ./cmd/nebula-cert
|
$(GOENV) go build $(BUILD_ARGS) -ldflags "$(LDFLAGS)" -o ./nebula-cert${NEBULA_CMD_SUFFIX} ./cmd/nebula-cert
|
||||||
|
|
||||||
install:
|
install:
|
||||||
go install $(BUILD_ARGS) -ldflags "$(LDFLAGS)" ${NEBULA_CMD_PATH}
|
$(GOENV) go install $(BUILD_ARGS) -ldflags "$(LDFLAGS)" ${NEBULA_CMD_PATH}
|
||||||
go install $(BUILD_ARGS) -ldflags "$(LDFLAGS)" ./cmd/nebula-cert
|
$(GOENV) go install $(BUILD_ARGS) -ldflags "$(LDFLAGS)" ./cmd/nebula-cert
|
||||||
|
|
||||||
build/linux-arm-%: GOENV += GOARM=$(word 3, $(subst -, ,$*))
|
build/linux-arm-%: GOENV += GOARM=$(word 3, $(subst -, ,$*))
|
||||||
build/linux-mips-%: GOENV += GOMIPS=$(word 3, $(subst -, ,$*))
|
build/linux-mips-%: GOENV += GOMIPS=$(word 3, $(subst -, ,$*))
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
//go:build fips140
|
//go:build fips140v1.0
|
||||||
// +build fips140
|
// +build fips140v1.0
|
||||||
|
|
||||||
package noiseutil
|
package noiseutil
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
//go:build fips140
|
//go:build fips140v1.0
|
||||||
// +build fips140
|
// +build fips140v1.0
|
||||||
|
|
||||||
package noiseutil
|
package noiseutil
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
//go:build !boringcrypto && !fips140
|
//go:build !boringcrypto && !fips140v1.0
|
||||||
// +build !boringcrypto,!fips140
|
// +build !boringcrypto,!fips140v1.0
|
||||||
|
|
||||||
package noiseutil
|
package noiseutil
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
//go:build !boringcrypto && !fips140
|
//go:build !boringcrypto && !fips140v1.0
|
||||||
// +build !boringcrypto,!fips140
|
// +build !boringcrypto,!fips140v1.0
|
||||||
|
|
||||||
package noiseutil
|
package noiseutil
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user