ref: ec2d1312ef39a18e9e8fe155bf91d58c79b5878b
parent: 03b6dd93214f0af3aaa0176725e5e7cdac002dac
author: ISSOtm <[email protected]>
date: Sat Nov 12 09:34:54 EST 2022
Remove `auto` parameter to `-flto` Not all supported compilers support the argument; the move was a bit premature.
--- a/Makefile
+++ b/Makefile
@@ -35,8 +35,8 @@
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 \