summaryrefslogtreecommitdiffstats
path: root/qmake/generators/makefile.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-03-20 02:45:00 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-02-02 00:33:54 +0100
commitfd708f1b0265f63ebb6f06c6201061183675d890 (patch)
tree471cdc4f4c52a2ee884461bb35c63c6ae0695759 /qmake/generators/makefile.cpp
parent7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e (diff)
downloadqt3-fd708f1b0265f63ebb6f06c6201061183675d890.tar.gz
qt3-fd708f1b0265f63ebb6f06c6201061183675d890.zip
Remove dates from generated files.
This is related to the effort for reproducible builds. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit fc8564a5f04b90b998e792444f70550272e78ddb)
Diffstat (limited to 'qmake/generators/makefile.cpp')
-rw-r--r--qmake/generators/makefile.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index 9b46b89..e9b652a 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -2142,10 +2142,9 @@ QString MakefileGenerator::build_args()
bool
MakefileGenerator::writeHeader(QTextStream &t)
{
- time_t foo = time(NULL);
t << "#############################################################################" << endl;
t << "# Makefile for building: " << var("TARGET") << endl;
- t << "# Generated by qmake (" << qmake_version() << ") (Qt " << QT_VERSION_STR << ") on: " << ctime(&foo);
+ t << "# Generated by qmake (" << qmake_version() << ") (Qt " << QT_VERSION_STR << ")" << endl;
t << "# Project: " << fileFixify(project->projectFile()) << endl;
t << "# Template: " << var("TEMPLATE") << endl;
t << "# Command: " << build_args() << endl;