Skip to content

Commit 986ad76

Browse files
fix compile src folder in Makefile
1 parent 95c4295 commit 986ad76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# 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
23

34
# RELEASE_BUILD_LINKER_FLAGS disables DWARF and symbol table generation to reduce binary size
45
#RELEASE_BUILD_LINKER_FLAGS=-s -w
@@ -23,7 +24,7 @@ compile-with-docker:
2324
docker run --env GOPROXY=direct -v $(shell pwd):/LambdaRuntimeLocal -w /LambdaRuntimeLocal golang:1.17 make ARCH=${ARCH} compile-lambda-linux
2425

2526
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
2728

2829
tests:
2930
go test ./...

0 commit comments

Comments
 (0)