From c6f3e0e42166c046c391a5ce7ab31a558148bdf2 Mon Sep 17 00:00:00 2001 From: "S.J.R. van Schaik" Date: Thu, 27 Jul 2017 10:41:31 +0200 Subject: [PATCH] make: enable link-time optimisations --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 831c736..ecd1a5f 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,8 @@ CFLAGS += -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes -pedantic CFLAGS += -D_XOPEN_SOURCE CFLAGS += -std=c99 -CFLAGS += -Os -LDFLAGS += -Os +CFLAGS += -Os -flto +LDFLAGS += -Os -flto -include source/Makefile