electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

python-3.7-reproducible-buildinfo.diff (536B)


      1 # DP: Build getbuildinfo.o with DATE/TIME values when defined
      2 
      3 --- a/Makefile.pre.in
      4 +++ b/Makefile.pre.in
      5 @@ -766,6 +766,8 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
      6  	      -DGITVERSION="\"`LC_ALL=C $(GITVERSION)`\"" \
      7  	      -DGITTAG="\"`LC_ALL=C $(GITTAG)`\"" \
      8  	      -DGITBRANCH="\"`LC_ALL=C $(GITBRANCH)`\"" \
      9 +	      $(if $(BUILD_DATE),-DDATE='"$(BUILD_DATE)"') \
     10 +	      $(if $(BUILD_TIME),-DTIME='"$(BUILD_TIME)"') \
     11  	      -o $@ $(srcdir)/Modules/getbuildinfo.c
     12  
     13  Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile