Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Remove -i flag from Go builds in the Makefile #2307

Merged
merged 1 commit into from
Sep 25, 2020
Merged

Remove -i flag from Go builds in the Makefile #2307

merged 1 commit into from
Sep 25, 2020

Conversation

jalseth
Copy link
Contributor

@jalseth jalseth commented Sep 25, 2020

The -i (install) flag is not necessary and caused issues with building in some scenarios.

Fixes #2287

Copy link
Contributor

@zwass zwass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took a look through the history to find where that flag was added (https://github.com/kolide/fleet/pull/197/files#diff-b67911656ef5d18c4ae36cb6741b7965R65) and can't see any indication that it was added for a specific reason.

I successfully tested a local build on macOS as well as a cross-compile for the Docker container. Both seemed to generate working binaries.

@zwass zwass merged commit 44c3396 into kolide:master Sep 25, 2020
@jalseth jalseth deleted the remove-install-flag branch September 25, 2020 19:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make build broken on 3.0.0 and higher
2 participants