Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
shimv2: Use BUILDTAGS when building shimv2
Browse files Browse the repository at this point in the history
If not used, SELinux support will never be enabled.

It's important to mention that this issue has been already been fixed on
kata-containers/kata-containers, unintentionally, as part of
kata-containers/kata-containers@e90c5d45b3ceef

Fixes: #2776

Signed-off-by: Fabiano Fidêncio <[email protected]>
(cherry picked from commit c51baf8)
  • Loading branch information
fidencio committed Jun 18, 2020
1 parent 984ccea commit dbc914a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ $(TARGET_OUTPUT): $(SOURCES) $(GENERATED_FILES) $(MAKEFILE_LIST) | show-summary
$(QUIET_BUILD)(cd $(CLI_DIR) && go build $(KATA_LDFLAGS) $(BUILDFLAGS) -o $@ .)

$(SHIMV2_OUTPUT): $(SOURCES) $(GENERATED_FILES) $(MAKEFILE_LIST)
$(QUIET_BUILD)(cd $(SHIMV2_DIR)/ && go build $(KATA_LDFLAGS) -i -o $@ .)
$(QUIET_BUILD)(cd $(SHIMV2_DIR)/ && go build $(KATA_LDFLAGS) $(BUILDTAGS) -i -o $@ .)

.PHONY: \
check \
Expand Down

0 comments on commit dbc914a

Please sign in to comment.