summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-02-22 17:53:33 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-23 18:38:49 +0100
commit44cb71d6fdb0b7285d4ef74a1ef778323aa9e5ee (patch)
tree596c5177ea3e8a7eea3e3ceb8e777da1c30a7410 /src/tools
parentbc616641a1c3d2d79cf7c5ee9e80a59279edb756 (diff)
Compile only the SHA-1 code into qdoc
There's no need to compile the other codecs if they never get used. It's possible that a whole-program optimisation would remove the dead code away, but it's not very likely. Change-Id: I75d7618c174566beec2fab44f60a9f7120133775 Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/qdoc/qdoc.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/qdoc/qdoc.pro b/src/tools/qdoc/qdoc.pro
index 9df79ec718..cd792e73e8 100644
--- a/src/tools/qdoc/qdoc.pro
+++ b/src/tools/qdoc/qdoc.pro
@@ -1,6 +1,7 @@
option(host_build)
-DEFINES += QDOC2_COMPAT
+DEFINES += QDOC2_COMPAT \
+ QT_CRYPTOGRAPHICHASH_ONLY_SHA1
INCLUDEPATH += $$QT_SOURCE_TREE/src/tools/qdoc \
$$QT_SOURCE_TREE/src/tools/qdoc/qmlparser