This is an automated email from the ASF dual-hosted git repository.

jianliangqi pushed a commit to branch clucene
in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git


The following commit(s) were added to refs/heads/clucene by this push:
     new d204beac [Update](cmake) add debug and no omit frame flags for clucene 
compilation (#143)
d204beac is described below

commit d204beac88d2e97a3a2cec911f2c3bde6aad318a
Author: airborne12 <[email protected]>
AuthorDate: Fri Dec 1 11:12:47 2023 +0800

    [Update](cmake) add debug and no omit frame flags for clucene compilation 
(#143)
---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ad3af59e..1c231772 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -139,9 +139,9 @@ if (USE_AVX2)
        SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_AVX2")
 endif()
 if (__COMPILER_CLANG)
-       SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c++11-narrowing")
+       SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c++11-narrowing -g 
-fno-omit-frame-pointer")
 else ()
-       SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-narrowing")
+       SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-narrowing -g 
-fno-omit-frame-pointer")
 endif ()
 
 #check flags...


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to