From 43075f1ba25d360c9c623b444e3089196e45ef5a Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 20 Mar 2014 13:04:09 -0400 Subject: Use link-time optimization. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7a23863..b55c57c 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ ##################################################################### CC ?= gcc -CFLAGS ?= -std=c99 -pipe -O2 -Werror -Wall -Wpedantic -Wextra -Wno-sign-compare -Wno-unused-parameter -Wunreachable-code -Wshadow -Wpointer-arith -Wwrite-strings -Wcast-align -Wstrict-prototypes +CFLAGS ?= -std=c99 -pipe -O2 -flto -Werror -Wall -Wpedantic -Wextra -Wno-sign-compare -Wno-unused-parameter -Wunreachable-code -Wshadow -Wpointer-arith -Wwrite-strings -Wcast-align -Wstrict-prototypes LDFLAGS ?= -Wl,-O1,--sort-common,--as-needed,-z,relro LIBS ?= -lm -lpng RM ?= rm -f -- cgit v1.2.3