changeset 23421:0bfdfd5870d7

Make Qt generated resource files reproducible * libgui/module.mk (rcc-command): Add QT_HASH_SEED=0 to the environment when running $(RCC) to ensure its output is reproducible.
author Mike Miller <mtmiller@octave.org>
date Fri, 21 Apr 2017 11:14:06 -0700
parents 1fee389bd04b
children 206a7eb1561b
files libgui/module.mk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/module.mk	Fri Apr 21 08:35:17 2017 -0700
+++ b/libgui/module.mk	Fri Apr 21 11:14:06 2017 -0700
@@ -94,7 +94,7 @@
     echo "#if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC)"; \
     echo "#pragma GCC diagnostic ignored \"-Wunused-variable\""; \
     echo "#endif"; \
-    $(RCC) $(RCCFLAGS) -name $(@D) $< ) > $@-t && \
+    QT_HASH_SEED=0 $(RCC) $(RCCFLAGS) -name $(@D) $< ) > $@-t && \
   mv $@-t $@
 endef