Skip to content

Commit

Permalink
Remove git-vars from conmon/config.h generation
Browse files Browse the repository at this point in the history
The `git-vars` target force a rebuild of the `config.h` even if it
already exist. This can break build-setups, so we remove it from the
`config.h` generation.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
  • Loading branch information
saschagrunert committed Jul 9, 2019
1 parent 8f32010 commit aea87f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -136,7 +136,7 @@ crio.conf: bin/crio
release-note: ${RELEASE_TOOL}
${RELEASE_TOOL} -n $(release)

conmon/config.h: git-vars cmd/crio-config/config.go internal/oci/oci.go
conmon/config.h: cmd/crio-config/config.go internal/oci/oci.go
$(GO) build $(LDFLAGS) -tags "$(BUILDTAGS)" -o bin/crio-config $(PROJECT)/cmd/crio-config
( cd conmon && $(CURDIR)/bin/crio-config )

Expand Down

0 comments on commit aea87f4

Please sign in to comment.