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:30:11 +0100 |
commit | fc8564a5f04b90b998e792444f70550272e78ddb (patch) | |
tree | b48d20d9c4a98d3a7bd078fe43e671582a96fa00 /qmake/generators | |
parent | 961eb3f6e276b4a3609328a3076ef790026e9c03 (diff) | |
download | qt3-fc8564a5f04b90b998e792444f70550272e78ddb.tar.gz qt3-fc8564a5f04b90b998e792444f70550272e78ddb.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>
Diffstat (limited to 'qmake/generators')
-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") |