mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Make fingerprint handling compatible with LTO
Tell the compiler that the fingerprint variable is modified unpredictably. * lib/fingerprint.h (fingerprint): Remove const. * lib/fingerprint.c (fingerprint): Likewise. * src/pdumper.c (Fdump_emacs_portable): Cast fingerprint variable. (pdumper_load): Likewise. * lib-src/make-fingerprint.c (main): Likewise.
This commit is contained in:
parent
bff64115a0
commit
fc41b0610e
4 changed files with 9 additions and 6 deletions
|
|
@ -29,7 +29,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
|||
by a fingerprint of the temporary Emacs executable that was built
|
||||
along the way. */
|
||||
|
||||
unsigned char const fingerprint[] =
|
||||
volatile unsigned char fingerprint[] =
|
||||
{
|
||||
0xDE,
|
||||
0x86,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue