]> gitweb.factorcode.org Git - factor.git/blobdiff - GNUmakefile
vm/master.hpp: optional reproducible VM compilation
[factor.git] / GNUmakefile
index 53a1f0b8b5c09eead07c2cfb823079a8f72912f4..595a6c90eff5662dafdcd48a72252fc5545e7960 100644 (file)
@@ -1,6 +1,7 @@
 ifdef CONFIG
        VERSION = 0.99
        GIT_LABEL = $(shell echo `git describe --all`-`git rev-parse HEAD`)
+       REPRODUCIBLE ?= 0
 
        BUNDLE = Factor.app
 
@@ -10,6 +11,7 @@ ifdef CONFIG
                -pedantic \
                -DFACTOR_VERSION="$(VERSION)" \
                -DFACTOR_GIT_LABEL="$(GIT_LABEL)" \
+               -DFACTOR_REPRODUCIBLE="$(REPRODUCIBLE)" \
                $(SITE_CFLAGS)
 
        CXXFLAGS += -std=c++11