aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Frank Denis <github@pureftpd.org>2020-08-04 01:45:33 +0200
committerGravatar Frank Denis <github@pureftpd.org>2020-08-04 01:45:33 +0200
commit9abbb95ab6c51b5fb85db7c5ea65843b4d788aae (patch)
tree42ab9d7f267f3b0019e5e613bfc17853a27a1300
parentc6382f5f6eb245068fa8f422cd00ecd7d9278010 (diff)
downloadtweetpipe-9abbb95ab6c51b5fb85db7c5ea65843b4d788aae.tar.gz
-flto works pretty well on encpipe
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 14ba802..7c8fba6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
PREFIX ?= /usr/local
WFLAGS ?= -Wall -Wextra -Wmissing-prototypes -Wdiv-by-zero -Wbad-function-cast -Wcast-align -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wnested-externs -Wno-unknown-pragmas -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum -Wno-type-limits
-CFLAGS ?= -Os -march=native -fno-exceptions $(WFLAGS)
+CFLAGS ?= -O3 -march=native -fno-exceptions -flto $(WFLAGS)
CFLAGS += -I. -Iext/libhydrogen
OBJ = ext/libhydrogen/hydrogen.o src/encpipe.o src/safe_rw.o
STRIP ?= strip