summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2025-02-13 10:02:00 -0500
committerTavian Barnes <tavianator@tavianator.com>2025-02-13 10:02:00 -0500
commit03f2e4dc12812e883b11cf0109166a6eed8059dd (patch)
treec52887880e26f354ccea7f3758eb29a3b2044495 /configure
parent000d4a2f9adef54d4bc8ce84435d91ec9dda54c5 (diff)
downloadbfs-03f2e4dc12812e883b11cf0109166a6eed8059dd.tar.xz
configure: Add separate --enable-lto knob
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 58f7953..f6818c3 100755
--- a/configure
+++ b/configure
@@ -164,7 +164,7 @@ for arg; do
--enable-*|--disable-*)
case "$name" in
- release|asan|lsan|msan|tsan|ubsan|lint|gcov)
+ release|lto|asan|lsan|msan|tsan|ubsan|lint|gcov)
set -- "$@" "$NAME=$yn"
;;
*)
@@ -197,7 +197,7 @@ for arg; do
;;
# Warn about MAKE variables that have documented configure flags
- RELEASE=*|ASAN=*|LSAN=*|MSAN=*|TSAN=*|UBSAN=*|LINT=*|GCOV=*)
+ RELEASE=*|LTO=*|ASAN=*|LSAN=*|MSAN=*|TSAN=*|UBSAN=*|LINT=*|GCOV=*)
name=$(printf '%s' "$NAME" | tr 'A-Z_' 'a-z-')
warn '"%s" is deprecated; use --enable-%s' "$arg" "$name"
set -- "$@" "$arg"