diff options
| author | Pip Cet | 2024-08-21 08:44:14 +0000 |
|---|---|---|
| committer | Stefan Kangas | 2024-12-12 22:48:13 +0100 |
| commit | 9a0728af9df7c208a7e93f8e970b7348b1273fee (patch) | |
| tree | 81e97179aa27092c1462e687043c104d5de44886 /src | |
| parent | 1c495735b4fd7411bca39161b45e0115d0d377b9 (diff) | |
| download | emacs-9a0728af9df7c208a7e93f8e970b7348b1273fee.tar.gz emacs-9a0728af9df7c208a7e93f8e970b7348b1273fee.zip | |
Don't recognize "bootstrap" option for --temacs
This option only makes sense for unexec dumping.
* src/emacs.c (main): Recognize "pbootstrap" only, not "bootstrap".
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emacs.c b/src/emacs.c index 496a107d49d..13413e36459 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1310,8 +1310,7 @@ main (int argc, char **argv) | |||
| 1310 | if (strcmp (temacs, "pdump") == 0 || | 1310 | if (strcmp (temacs, "pdump") == 0 || |
| 1311 | strcmp (temacs, "pbootstrap") == 0) | 1311 | strcmp (temacs, "pbootstrap") == 0) |
| 1312 | gflags.will_dump_with_pdumper_ = true; | 1312 | gflags.will_dump_with_pdumper_ = true; |
| 1313 | if (strcmp (temacs, "bootstrap") == 0 || | 1313 | if (strcmp (temacs, "pbootstrap") == 0) |
| 1314 | strcmp (temacs, "pbootstrap") == 0) | ||
| 1315 | gflags.will_bootstrap_ = true; | 1314 | gflags.will_bootstrap_ = true; |
| 1316 | gflags.will_dump_ = | 1315 | gflags.will_dump_ = |
| 1317 | will_dump_with_pdumper_p (); | 1316 | will_dump_with_pdumper_p (); |