diff options
| author | briaguya <70942617+briaguya-ai@users.noreply.github.com> | 2024-01-28 16:43:13 -0500 |
|---|---|---|
| committer | Garrett Cox <garrettjcox@gmail.com> | 2024-05-22 09:04:59 -0500 |
| commit | a1ec4483b79b2b56f3a6d1526e3a8f450cc573c9 (patch) | |
| tree | 67b2b78490234c702062a4d4817e9baf1a89cedd /CMakeLists.txt | |
| parent | 21e27a512b9799e2b4cf2005e7fc015d679eba36 (diff) | |
build: remove `-fuse-ld=lld` (#113)
having this flag set led to vscode breakpoints not working in a lot of files when building using gcc on linux
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 003fc9f93..b570e1873 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,11 +63,6 @@ set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG") set(CMAKE_OBJCXX_FLAGS_RELEASE "-O2 -DNDEBUG") endif() -if (NOT CMAKE_SYSTEM_NAME MATCHES "Darwin") -set(CMAKE_CXX_FLAGS_DEBUG "-fuse-ld=lld") -set(CMAKE_LINKER_FLAGS_DEBUG "-fuse-ld=lld") -endif() - if(NOT CMAKE_BUILD_TYPE ) set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Choose the type of build." FORCE) endif() |
