aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-02-25 17:43:39 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-02-25 17:43:39 -0500
commit975185c5df6efff1c99f1951ee332220639cf958 (patch)
tree2f0b770e1f6922b3339eaa3012ba43055a4c5344
parent32e3aba554a82e853f86f2e8afe732efb71c0f31 (diff)
Fix lto warning
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ded163d8..e9484d80 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
PREFIX=/usr/local
VERSION=0.12.1
CCONFIG=-std=c11 -Werror -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -fPIC -ftrapv -fvisibility=hidden \
- -flto -fno-fat-lto-objects -Wl,-flto -fdollars-in-identifiers
+ -flto=auto -fno-fat-lto-objects -Wl,-flto -fdollars-in-identifiers
LDFLAGS=-Wl,-rpath '-Wl,$$ORIGIN'
# MAKEFLAGS := --jobs=$(shell nproc) --output-sync=target
CWARN=-Wall -Wextra -Wno-format