From: Debian Qt/KDE Maintainers Date: Tue, 22 Aug 2017 11:35:55 +0000 (+0100) Subject: reduce_memory_usage X-Git-Tag: archive/raspbian/5.212.0_alpha2-6+rpi1~5^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=caf411771822eb9e6986f837506cc165abe4d79e;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