reduce_memory_usage
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Thu, 11 Aug 2016 01:13:17 +0000 (01:13 +0000)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Thu, 11 Aug 2016 01:13:17 +0000 (01:13 +0000)
Gbp-Pq: Name reduce_memory_usage.patch

Tools/qmake/mkspecs/features/unix/default_post.prf

index fd66af670c612c5f478da0ca33d40d8d05e6e5aa..b35157b7956e8e36b84ad06e90799542b77adaf2 100644 (file)
@@ -69,3 +69,6 @@ CONFIG(debug, debug|release)|force_debug_info {
 }
 
 load(default_post)
+
+# Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase.
+QMAKE_LFLAGS += -Wl,--no-keep-memory