Skip to content

Commit

Permalink
feat: no compiler inlining (#9336)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfuden committed Apr 8, 2024
1 parent 32e8ace commit 2da326f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ SOURCES := $(shell find . -name "*.go" | grep -v test.go)

ENVOY_GLOO_IMAGE ?= quay.io/solo-io/envoy-gloo:1.29.2-patch2
LDFLAGS := "-X github.com/solo-io/gloo/pkg/version.Version=$(VERSION)"
GCFLAGS := all="-N -l"
GCFLAGS ?=

UNAME_M := $(shell uname -m)
# if `GO_ARCH` is set, then it will keep its value. Else, it will be changed based off the machine's host architecture.
Expand Down
3 changes: 3 additions & 0 deletions changelog/v1.17.0-beta17/compiler-inlining.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
changelog:
- type: NON_USER_FACING
description: "Turn on compiler optimizations by not alwyas passing gc flags. If needed these flags can be used with delve."

0 comments on commit 2da326f

Please sign in to comment.