diff --git a/libcontainer/dmz/Makefile b/libcontainer/dmz/Makefile index e1282d3af..57ff782bd 100644 --- a/libcontainer/dmz/Makefile +++ b/libcontainer/dmz/Makefile @@ -1,7 +1,7 @@ # Get CC values for cross-compilation. include ../../cc_platform.mk +# We use the flags suggested in nolibc/nolibc.h, it makes the binary very small. runc-dmz: _dmz.c - # We use the flags suggested in nolibc/nolibc.h, it makes the binary very small. $(CC) $(CFLAGS) -fno-asynchronous-unwind-tables -fno-ident -s -Os -nostdlib -lgcc -static -o $@ $^ $(STRIP) -gs $@