Allow to explicitely set build date
Status: Beta
Brought to you by:
m_schellens
Hi,
in Debian, there are ongoing efforts to make binary packages reproducably buildable. Gnudatalanguage uses during the build the __DATE__
variable which prevents the reproducibility. A patch is attached that allows to use -DBUILD_DATE="\"Dec 10 2015\""
(which is taken from our last changelog entry), ovverriding the default current date.
Would you consider applying this simple patch?
Thanks
Best regards
Ole
I will put it in the CVS ASAP (now), but I have a message at the CMAKE level:
(cmake version 2.8.12.2)
CMake Warning:
Manually-specified variables were not used by the project:
Diff:
done in the CVS but passing the date via -DBUILD_DATE= is not working for me
You should make sure that you correctly escape the double colons. It works fine for me as shown ion the following build log:
Last edit: Ole Streicher 2015-12-22