Don't recognize "bootstrap" option for --temacs

This option only makes sense for unexec dumping.

* src/emacs.c (main): Recognize "pbootstrap" only, not "bootstrap".
This commit is contained in:
Pip Cet 2024-08-21 08:44:14 +00:00 committed by Stefan Kangas
parent 1c495735b4
commit 9a0728af9d

View file

@ -1310,8 +1310,7 @@ main (int argc, char **argv)
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 ();