aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-10-19 14:44:30 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-10-19 14:44:30 -0400
commit42447f4b68235b545cc0e1b91111079c155dc2f8 (patch)
tree0304c3c30cf38983a71355bf83f09b4dc80ad938 /Makefile
parentc814ebe71f18514c381c33aef574df0edcd0adf2 (diff)
Add makefile config option for LTO
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 82bbebf9..5f0978ca 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,6 @@ CCONFIG=-std=c2x -fPIC \
-fno-signed-zeros -fno-trapping-math \
-fvisibility=hidden -fdollars-in-identifiers \
-DGC_THREADS
-LTO=
LDFLAGS=
INCLUDE_DIRS=
CWARN=-Wall -Wextra -Wno-format -Wno-format-security -Wshadow \
@@ -68,7 +67,6 @@ endif
OWNER=$(shell ls -ld '$(PREFIX)' | awk '{print $$3}')
ifeq ($(shell $(CC) -v 2>&1 | grep -c "gcc version"), 1)
- LTO += -flto=auto -fno-fat-lto-objects -Wl,-flto
CWARN += -Werror -Wsign-conversion -Walloc-zero -Wduplicated-branches -Wduplicated-cond -Wjump-misses-init \
-Wlogical-op -Wpacked-not-aligned -Wshadow=compatible-local -Wshadow=global -Wshadow=local \
-Wsuggest-attribute=const -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure \