From: Debian Qt/KDE Maintainers Date: Thu, 11 Aug 2016 01:13:17 +0000 (+0000) Subject: reduce_memory_usage X-Git-Tag: archive/raspbian/5.212.0_alpha2-6+rpi1~5^2^2^2^2^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7c52864b462c9a7878b98d3159f19cf465acdf5d;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