reduce_memory_usage
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Wed, 1 Apr 2015 17:44:29 +0000 (17:44 +0000)
committerFelix Geyer <fgeyer@debian.org>
Wed, 1 Apr 2015 17:44:29 +0000 (17:44 +0000)
Gbp-Pq: Name reduce_memory_usage.patch

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

index 7a94845e9555ae35524f5a2a266efa8f0bfa5eea..ea899fd53ce5a7bbe81130dd06fa7b3ad6d78796 100644 (file)
@@ -68,3 +68,6 @@ CONFIG(debug, debug|release)|force_debug_info|separate_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