• Paul Eggert's avatar
    Port new fingerprinting scheme to clang + LTO · ebecafbd
    Paul Eggert authored
    * lib-src/make-fingerprint.c (main): Don't consider multiple
    instances of the fingerprint to be an error, as this can
    happen with clang and -flto.  Instead, replace all instances
    of the fingerprint.  There is a tiny chance that this will
    silently corrupt the Emacs executable.
    
    This patch suggests that we should go back to fingerprinting
    the inputs to the linker instead of its output, as the new
    fingerprinting scheme is unnecessarily complicated and this
    complexity reduces reliability. The old scheme (i.e., before
    commit 2019-05-14T23:31:24Z!eggert@cs.ucla.edu) was simpler
    and more portable and good enough, and it's looking like it
    would be less trouble in practice than the new scheme.
    ebecafbd
make-fingerprint.c 3.94 KB