diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-03-20 13:04:09 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-03-20 13:05:11 -0400 |
commit | 43075f1ba25d360c9c623b444e3089196e45ef5a (patch) | |
tree | d4734c76353b3455f02422a6ea2b004087ff7750 /Makefile | |
parent | 04e5ed9135cb847cd576d71c6d55e89dfa77d69a (diff) | |
download | kd-forest-43075f1ba25d360c9c623b444e3089196e45ef5a.tar.xz |
Use link-time optimization.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |