Skip to content

Commit

Permalink
remove no-as-needed (#516)
Browse files Browse the repository at this point in the history
Signed-off-by: yusheng.ma <[email protected]>
  • Loading branch information
Presburger authored Apr 22, 2024
1 parent 6efb02b commit 6945beb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/utils/compile_flags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ if(__X86_64)
set(CMAKE_CXX_FLAGS "-msse4.2 ${CMAKE_CXX_FLAGS}")
endif()

set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -Wl,--no-as-needed")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG -Wl,--no-as-needed")
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")

if(WITH_RAFT)
set(CMAKE_CUDA_FLAGS_DEBUG "-O0 -g -Xcompiler=-w ")
Expand Down

0 comments on commit 6945beb

Please sign in to comment.