Skip to content
  • Chris Lamb's avatar
    Make the build reproducible · 619bd8d1
    Chris Lamb authored and Simon McVittie's avatar Simon McVittie committed
    The Reproducible Builds effort [0] noticed that gucharmap could not be
    built reproducibly.
    
    This is because it includes the absolute build path in the generated
    gucharmap-type-builtins.h file:
    
    - /* enumerations from "/build/1st/gucharmap-13.0.1/obj-x86_64-linux-gnu/../gucharmap/gucharmap-charmap.h" */
    + /* enumerations from "/build/2/gucharmap-13.0.1/2nd/obj-x86_64-linux-gnu/../gucharmap/gucharmap-charmap.h" */
    
    This commit also makes the parallel change to the .c file; although this
    does not make a difference to the build, it feels like the right thing
    to do.
    
    [0] https://reproducible-builds.org/
    
    Resolves: #38
    Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955341
    619bd8d1