From 9d820f140ce4a4b416438b186ca1f4f511fd5ee0 Mon Sep 17 00:00:00 2001 From: Nicky Date: Fri, 5 Mar 2021 23:17:42 +0100 Subject: [PATCH] Add option to keep frame pointer --- indra/cmake/00-Common.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake index 1622735423..8cf08950a7 100644 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -189,6 +189,10 @@ if (LINUX) -pthread ) + if( FS_KEEP_FRAMEPOINTER ) + add_compile_options(-fno-omit-frame-pointer) + endif() + # force this platform to accept TOS via external browser No, do not. # add_definitions(-DEXTERNAL_TOS)