From ec2d1312ef39a18e9e8fe155bf91d58c79b5878b Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sat, 12 Nov 2022 14:34:54 +0100 Subject: [PATCH] Remove `auto` parameter to `-flto` Not all supported compilers support the argument; the move was a bit premature. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cae2b4c9..d39906ba 100644 --- a/Makefile +++ b/Makefile @@ -35,8 +35,8 @@ VERSION_STRING := `git describe --tags --dirty --always 2>/dev/null` WARNFLAGS := -Wall -pedantic # Overridable CFLAGS -CFLAGS ?= -O3 -flto=auto -DNDEBUG -CXXFLAGS ?= -O3 -flto=auto -DNDEBUG +CFLAGS ?= -O3 -flto -DNDEBUG +CXXFLAGS ?= -O3 -flto -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 \