Skip to content

Fix Go debug mode - #232

Merged
prenx4x merged 1 commit into
aws:developfrom
JadenSimon:gofix
Apr 22, 2021
Merged

Fix Go debug mode#232
prenx4x merged 1 commit into
aws:developfrom
JadenSimon:gofix

Conversation

@JadenSimon

@JadenSimon JadenSimon commented Apr 21, 2021

Copy link
Copy Markdown
Contributor

Compiling Go binaries without optimizations was not working. This is because "-gcflags='all=-N -l'" is not actually a valid argument to be passed to the executable. The equal sign should be treated as an argument separator, so a shell would parse this to "-gcflags" and "all=-N -l".

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@prenx4x
prenx4x merged commit 0caa19a into aws:develop Apr 22, 2021
aahung pushed a commit to aahung/aws-lambda-builders that referenced this pull request May 21, 2021
aahung pushed a commit that referenced this pull request May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants