Skip to content

Commit

Permalink
conmon: minor fixes
Browse files Browse the repository at this point in the history
This fixes a bug where --conmon wouldn't actually set the conmon binary
path, and also where we weren't setting CFLAGS while compiling conmon.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
  • Loading branch information
cyphar committed Oct 2, 2016
1 parent bac579a commit bd9acaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ func main() {

containerDir := c.String("containerdir")
sandboxDir := c.String("sandboxdir")
conmonPath := c.String("conmon")
pausePath := c.String("pause")
service, err := server.New(c.String("runtime"), c.String("root"), sandboxDir, containerDir, conmonPath, pausePath)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion conmon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ override LIBS += $(shell pkg-config --libs glib-2.0)
override CFLAGS += -Wall -Wextra $(shell pkg-config --cflags glib-2.0)

conmon: $(obj)
$(CC) -o $@ $^ $(LIBS)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)

.PHONY: clean
clean:
Expand Down

0 comments on commit bd9acaf

Please sign in to comment.