From 22ab978793e1c9093876b246e9ebdf6c3fa5ac0f Mon Sep 17 00:00:00 2001 From: rafa_99 Date: Sun, 5 Sep 2021 21:18:46 +0100 Subject: Replaced -O3 optimization with -flto due to minimalistic buffer overflow --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 836be06..8c81653 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ SRC = queryt.c src/utils.c src/video.c libs/curl.c libs/string.c libs/json.c # Compiler Flags -FLAGS = -march=native -O3 -pipe -faggressive-loop-optimizations +FLAGS = -march=native -flto -pipe -faggressive-loop-optimizations # Libraries LIBS = -lcurl -ljson-c -- cgit v1.2.3