diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-03-20 02:45:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-02-02 00:33:54 +0100 |
commit | fd708f1b0265f63ebb6f06c6201061183675d890 (patch) | |
tree | 471cdc4f4c52a2ee884461bb35c63c6ae0695759 /qmake | |
parent | 7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e (diff) | |
download | qt3-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')
-rw-r--r-- | qmake/generators/makefile.cpp | 3 | ||||
-rw-r--r-- | qmake/generators/projectgenerator.cpp | 2 | ||||
-rw-r--r-- | qmake/generators/unix/unixmake2.cpp | 3 |
3 files changed, 3 insertions, 5 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; diff --git a/qmake/generators/projectgenerator.cpp b/qmake/generators/projectgenerator.cpp index f3d4633..cae7b8f 100644 --- a/qmake/generators/projectgenerator.cpp +++ b/qmake/generators/projectgenerator.cpp @@ -345,7 +345,7 @@ bool ProjectGenerator::writeMakefile(QTextStream &t) { t << "######################################################################" << endl; - t << "# Automatically generated by qmake (" << qmake_version() << ") " << QDateTime::currentDateTime().toString() << endl; + t << "# Automatically generated by qmake (" << qmake_version() << ") " << endl; t << "######################################################################" << endl << endl; QStringList::Iterator it; for(it = Option::before_user_vars.begin(); it != Option::before_user_vars.end(); ++it) diff --git a/qmake/generators/unix/unixmake2.cpp b/qmake/generators/unix/unixmake2.cpp index d1ed572..3d07ea5 100644 --- a/qmake/generators/unix/unixmake2.cpp +++ b/qmake/generators/unix/unixmake2.cpp @@ -1452,9 +1452,8 @@ UnixMakefileGenerator::writeLibtoolFile() QTextStream t(&ft); t << "# " << lname << " - a libtool library file\n"; - time_t now = time(NULL); t << "# Generated by qmake/libtool (" << qmake_version() << ") (Qt " - << QT_VERSION_STR << ") on: " << ctime(&now) << "\n"; + << QT_VERSION_STR << ")\n"; t << "# The name that we can dlopen(3).\n" << "dlname='" << var(project->isActiveConfig("plugin") ? "TARGET" : "TARGET_x") |