From 011bdba647a75cdd862e31f77bfdb8cbaa17cbb5 Mon Sep 17 00:00:00 2001 From: Nicky Date: Thu, 26 Dec 2019 23:34:01 +0100 Subject: [PATCH] Linux; Set -fno-var-tracking-assignments for compilation of llviewermenu.cpp to squelch warning about gcc running out of memory and recompiling the file without that option anyway. --- indra/newview/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 228bd88a38..2a5301acd6 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1780,6 +1780,9 @@ if (LINUX) endif( ND_CTAGS ) # + # Get rid of memory limit exceeded for -fvar-tracking-assignments. + SET_SOURCE_FILES_PROPERTIES(llviewermenu.cpp PROPERTIES COMPILE_FLAGS -fno-var-tracking-assignments) + # endif (LINUX) if (WINDOWS)