summaryrefslogtreecommitdiffstats
path: root/qmake/generators
diff options
context:
space:
mode:
authorSune Vuorela <sune@vuorela.dk>2015-02-03 08:18:29 +0100
committerSune Vuorela <sune@vuorela.dk>2015-02-05 21:17:29 +0000
commit99f8e817fe4434f35ce45ba22f4b7ac969c83e3b (patch)
tree5c8219c02f281217a3aa4316fb60f1f69c15dfec /qmake/generators
parentdc393a2bae452edce354e2629b69c02dc1a29ac6 (diff)
Make .la file generation reproducible in qmake
qmake seems to be adding current date/time to the .la files for no reason, so let's stop do that. This way, two invocations of qmake actually gives bit for bit similar output of .la files. Change-Id: I93c7c4075cc1e05214849eec8629f41ce01e5914 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'qmake/generators')
-rw-r--r--qmake/generators/unix/unixmake2.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/qmake/generators/unix/unixmake2.cpp b/qmake/generators/unix/unixmake2.cpp
index 8c495150ab..04423ec9af 100644
--- a/qmake/generators/unix/unixmake2.cpp
+++ b/qmake/generators/unix/unixmake2.cpp
@@ -38,7 +38,6 @@
#include <qbytearray.h>
#include <qfile.h>
#include <qdir.h>
-#include <qdatetime.h>
#include <qdebug.h>
#include <time.h>
@@ -1385,7 +1384,7 @@ UnixMakefileGenerator::writeLibtoolFile()
QTextStream t(&ft);
t << "# " << lname << " - a libtool library file\n";
t << "# Generated by qmake/libtool (" QMAKE_VERSION_STR ") (Qt "
- << QT_VERSION_STR << ") on: " << QDateTime::currentDateTime().toString();
+ << QT_VERSION_STR << ")";
t << "\n";
t << "# The name that we can dlopen(3).\n"