From: Debian Qt/KDE Maintainers Date: Wed, 1 Apr 2015 17:44:29 +0000 (+0000) Subject: reduce_memory_usage X-Git-Tag: archive/raspbian/5.212.0_alpha2-6+rpi1~5^2^2^2^2^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b87367476876563414ca5a84205b242ed352b5bb;p=qtwebkit-opensource-src.git reduce_memory_usage Gbp-Pq: Name reduce_memory_usage.patch --- diff --git a/Tools/qmake/mkspecs/features/unix/default_post.prf b/Tools/qmake/mkspecs/features/unix/default_post.prf index 7a94845e..ea899fd5 100644 --- a/Tools/qmake/mkspecs/features/unix/default_post.prf +++ b/Tools/qmake/mkspecs/features/unix/default_post.prf @@ -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