ref: 1653a9a3f26fd221b854b28991b155c36858f0bb
parent: 3c049983f1008e52c5b04a870d91cd0e03ac5c36
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Oct 2 09:50:35 EDT 2022
Use `-flto=auto`
--- a/Makefile
+++ b/Makefile
@@ -35,8 +35,8 @@
WARNFLAGS := -Wall -pedantic
# Overridable CFLAGS
-CFLAGS ?= -O3 -flto -DNDEBUG
-CXXFLAGS ?= -O3 -flto -DNDEBUG
+CFLAGS ?= -O3 -flto=auto -DNDEBUG
+CXXFLAGS ?= -O3 -flto=auto -DNDEBUG
# Non-overridable CFLAGS
# _ISOC11_SOURCE is required on certain platforms to get C11 on top of the C99-based POSIX 2008
REALCFLAGS := ${CFLAGS} ${WARNFLAGS} -std=gnu11 -I include \