From fe6f1f47863aedda4cde3a63039d10def4321e0d Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 2 Jun 2017 15:22:24 +0200 Subject: [PATCH] conmon: Add -Os flag This is what the other C code uses, and its nice to have as adding any optimization flags enables a bunch of more warnings. Signed-off-by: Alexander Larsson --- conmon/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conmon/Makefile b/conmon/Makefile index 034ba59a..4be94283 100644 --- a/conmon/Makefile +++ b/conmon/Makefile @@ -2,7 +2,7 @@ src = $(wildcard *.c) obj = $(src:.c=.o) override LIBS += $(shell pkg-config --libs glib-2.0 json-glib-1.0) -override CFLAGS += -std=c99 -Wall -Wextra $(shell pkg-config --cflags glib-2.0) +override CFLAGS += -std=c99 -Os -Wall -Wextra $(shell pkg-config --cflags glib-2.0) conmon: $(obj) $(CC) -o $@ $^ $(CFLAGS) $(LIBS)