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> | 2020-03-20 02:45:00 +0100 |
commit | 9d5d503f747ce54a6c048a415dae1b33d6b9b047 (patch) | |
tree | 6951ff957ca517a757d769296d79e6a3ee9bc1aa /qmake | |
parent | 277646d8abf9312400a7d4d2bcd4e3790554892c (diff) | |
download | tqt3-9d5d503f747ce54a6c048a415dae1b33d6b9b047.tar.gz tqt3-9d5d503f747ce54a6c048a415dae1b33d6b9b047.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')
-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 c41f8e82f..307288e0d 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -2142,10 +2142,9 @@ TQString MakefileGenerator::build_args() bool MakefileGenerator::writeHeader(TQTextStream &t) { - time_t foo = time(NULL); t << "#############################################################################" << endl; t << "# Makefile for building: " << var("TARGET") << endl; - t << "# Generated by qmake (" << qmake_version() << ") (TQt " << TQT_VERSION_STR << ") on: " << ctime(&foo); + t << "# Generated by qmake (" << qmake_version() << ") (TQt " << TQT_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 18b976728..0bc44a599 100644 --- a/qmake/generators/projectgenerator.cpp +++ b/qmake/generators/projectgenerator.cpp @@ -345,7 +345,7 @@ bool ProjectGenerator::writeMakefile(TQTextStream &t) { t << "######################################################################" << endl; - t << "# Automatically generated by qmake (" << qmake_version() << ") " << TQDateTime::currentDateTime().toString() << endl; + t << "# Automatically generated by qmake (" << qmake_version() << ") " << endl; t << "######################################################################" << endl << endl; TQStringList::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 789176b9c..8ea7e367b 100644 --- a/qmake/generators/unix/unixmake2.cpp +++ b/qmake/generators/unix/unixmake2.cpp @@ -1452,9 +1452,8 @@ UnixMakefileGenerator::writeLibtoolFile() TQTextStream t(&ft); t << "# " << lname << " - a libtool library file\n"; - time_t now = time(NULL); t << "# Generated by qmake/libtool (" << qmake_version() << ") (TQt " - << TQT_VERSION_STR << ") on: " << ctime(&now) << "\n"; + << TQT_VERSION_STR << ")\n"; t << "# The name that we can dlopen(3).\n" << "dlname='" << var(project->isActiveConfig("plugin") ? "TARGET" : "TARGET_x") |