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 <alexl@redhat.com>
This commit is contained in:
parent
1a168cb196
commit
fe6f1f4786
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ src = $(wildcard *.c)
|
||||||
obj = $(src:.c=.o)
|
obj = $(src:.c=.o)
|
||||||
|
|
||||||
override LIBS += $(shell pkg-config --libs glib-2.0 json-glib-1.0)
|
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)
|
conmon: $(obj)
|
||||||
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
||||||
|
|
Loading…
Reference in a new issue