From cdabd12b186e8e794045372b753416a18c387d7b Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 6 Mar 2024 15:23:57 -0800 Subject: [PATCH] bfd: Change the --with-mmap default to true Change the configure default to using mmap. * configure.ac: Change the --with-mmap default to true. * configure: Regenerated. --- bfd/configure | 2 +- bfd/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bfd/configure b/bfd/configure index 23ffa6da332..210550ae042 100755 --- a/bfd/configure +++ b/bfd/configure @@ -12018,7 +12018,7 @@ if test "${with_mmap+set}" = set; then : *) as_fn_error $? "bad value ${withval} for BFD with-mmap option" "$LINENO" 5 ;; esac else - want_mmap=false + want_mmap=true fi # Check whether --enable-secureplt was given. diff --git a/bfd/configure.ac b/bfd/configure.ac index 7fcc5d4a947..02d8ba96318 100644 --- a/bfd/configure.ac +++ b/bfd/configure.ac @@ -113,7 +113,7 @@ AC_ARG_WITH(mmap, yes) want_mmap=true ;; no) want_mmap=false ;; *) AC_MSG_ERROR(bad value ${withval} for BFD with-mmap option) ;; -esac],[want_mmap=false])dnl +esac],[want_mmap=true])dnl AC_ARG_ENABLE(secureplt, [ --enable-secureplt Default to creating read-only plt entries],