diff --git a/cmd/server/main.go b/cmd/server/main.go index 55d5c698..d1f28aa1 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -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 { diff --git a/conmon/Makefile b/conmon/Makefile index 1df60a69..c8c7c4a9 100644 --- a/conmon/Makefile +++ b/conmon/Makefile @@ -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: