File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
# LOCALSTACK CHANGES 2022-03-10: remove linker flags and add gc flags for delve debugger
2
+ # LOCALSTACK CHANGES 2022-03-28: change compile src folder
2
3
3
4
# RELEASE_BUILD_LINKER_FLAGS disables DWARF and symbol table generation to reduce binary size
4
5
# RELEASE_BUILD_LINKER_FLAGS=-s -w
@@ -23,7 +24,7 @@ compile-with-docker:
23
24
docker run --env GOPROXY=direct -v $(shell pwd) :/LambdaRuntimeLocal -w /LambdaRuntimeLocal golang:1.17 make ARCH=${ARCH} compile-lambda-linux
24
25
25
26
compile-lambda-linux :
26
- CGO_ENABLED=0 GOOS=linux GOARCH=${GO_ARCH_${ARCH} } go build -ldflags " ${RELEASE_BUILD_LINKER_FLAGS} " -gcflags=" all=-N -l" -o ${DESTINATION_${ARCH} } ./cmd/aws-lambda-rie
27
+ CGO_ENABLED=0 GOOS=linux GOARCH=${GO_ARCH_${ARCH} } go build -ldflags " ${RELEASE_BUILD_LINKER_FLAGS} " -gcflags=" all=-N -l" -o ${DESTINATION_${ARCH} } ./cmd/localstack
27
28
28
29
tests :
29
30
go test ./...
You can’t perform that action at this time.
0 commit comments