From: Debian Qt/KDE Maintainers Date: Thu, 15 Dec 2016 20:22:14 +0000 (+0000) Subject: reduce_memory_usage X-Git-Tag: archive/raspbian/5.212.0_alpha2-6+rpi1~5^2^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a02b5e9737273415737173a5ad11d1d920ee6337;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 fd66af67..b35157b7 100644 --- a/Tools/qmake/mkspecs/features/unix/default_post.prf +++ b/Tools/qmake/mkspecs/features/unix/default_post.prf @@ -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