From f565f35877881bcc870c06981c2a45bc0799cabc Mon Sep 17 00:00:00 2001 From: Pip Cet Date: Wed, 21 Aug 2024 08:44:14 +0000 Subject: [PATCH] Don't recognize "bootstrap" option for --temacs This option only makes sense for unexec dumping. * src/emacs.c (main): Recognize "pbootstrap" only, not "bootstrap". (cherry picked from commit 9a0728af9df7c208a7e93f8e970b7348b1273fee) --- src/emacs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/emacs.c b/src/emacs.c index 0b08feb9209..f0281044c9e 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1310,8 +1310,7 @@ android_emacs_init (int argc, char **argv, char *dump_file) if (strcmp (temacs, "pdump") == 0 || strcmp (temacs, "pbootstrap") == 0) gflags.will_dump_with_pdumper_ = true; - if (strcmp (temacs, "bootstrap") == 0 || - strcmp (temacs, "pbootstrap") == 0) + if (strcmp (temacs, "pbootstrap") == 0) gflags.will_bootstrap_ = true; gflags.will_dump_ = will_dump_with_pdumper_p (); -- 2.39.5