conmon: minor fixes
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>
This commit is contained in:
parent
bac579a9e5
commit
bd9acaf584
2 changed files with 2 additions and 1 deletions
|
@ -116,6 +116,7 @@ func main() {
|
||||||
|
|
||||||
containerDir := c.String("containerdir")
|
containerDir := c.String("containerdir")
|
||||||
sandboxDir := c.String("sandboxdir")
|
sandboxDir := c.String("sandboxdir")
|
||||||
|
conmonPath := c.String("conmon")
|
||||||
pausePath := c.String("pause")
|
pausePath := c.String("pause")
|
||||||
service, err := server.New(c.String("runtime"), c.String("root"), sandboxDir, containerDir, conmonPath, pausePath)
|
service, err := server.New(c.String("runtime"), c.String("root"), sandboxDir, containerDir, conmonPath, pausePath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -5,7 +5,7 @@ override LIBS += $(shell pkg-config --libs glib-2.0)
|
||||||
override CFLAGS += -Wall -Wextra $(shell pkg-config --cflags glib-2.0)
|
override CFLAGS += -Wall -Wextra $(shell pkg-config --cflags glib-2.0)
|
||||||
|
|
||||||
conmon: $(obj)
|
conmon: $(obj)
|
||||||
$(CC) -o $@ $^ $(LIBS)
|
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in a new issue