From 9976be86b3abd44d1edfcb9626c5acb93e440aaa Mon Sep 17 00:00:00 2001 From: Rodrigo Campos Date: Tue, 26 Sep 2023 18:46:01 +0200 Subject: [PATCH] libct/dmz: Move comment out of the Makefile rule Otherwise it is shown when compiling, like this: # We use the flags suggested in nolibc/nolibc.h, it makes the binary very small. gcc -fno-asynchronous-unwind-tables -fno-ident -s -Os -nostdlib -lgcc -static -o runc-dmz _dmz.c strip -gs runc-dmz Having it before the target is equally clear and will not be shown while compiling. Signed-off-by: Rodrigo Campos --- libcontainer/dmz/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $@