diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b47aee..972cdc1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,7 +36,6 @@ set(CMAKE_COLOR_DIAGNOSTICS ON) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) option(BTOP_STATIC "Link btop statically" OFF) -option(BTOP_USE_MOLD "Use mold to link btop" OFF) option(BTOP_PEDANTIC "Enable a bunch of additional warnings" OFF) option(BTOP_WERROR "Compile with warnings as errors" OFF) option(BTOP_GPU "Enable GPU support" ON) @@ -100,7 +99,7 @@ execute_process( OUTPUT_VARIABLE GIT_COMMIT OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET) set(CONFIGURE_COMMAND - "cmake -DBTOP_STATIC=${BTOP_STATIC} -DBTOP_USE_MOLD=${BTOP_USE_MOLD} -DBTOP_GPU=${BTOP_GPU}" + "cmake -DBTOP_STATIC=${BTOP_STATIC} -DBTOP_GPU=${BTOP_GPU}" ) get_filename_component(CXX_COMPILER_BASENAME "${CMAKE_CXX_COMPILER}" NAME) set(COMPILER "${CXX_COMPILER_BASENAME}") @@ -189,10 +188,6 @@ if(LINUX AND BTOP_GPU) endif() endif() -if(BTOP_USE_MOLD) - target_link_options(btop PRIVATE -fuse-ld=mold) -endif() - if(BTOP_STATIC) target_compile_definitions(btop PRIVATE STATIC_BUILD) target_link_options(btop PRIVATE -static LINKER:--fatal-warnings) diff --git a/README.md b/README.md index 87a0c4f..7294768 100644 --- a/README.md +++ b/README.md @@ -555,7 +555,6 @@ Can be set with `make setcap` (preferred) or `make setuid` or by running btop wi |---------------------------------|-------------------------------------------------------------------------| | `-DBTOP_STATIC=` | Enables static linking (OFF by default) | | `-DBTOP_LTO=` | Enables link time optimization (ON by default) | - | `-DBTOP_USE_MOLD=` | Use mold to link btop (OFF by default) | | `-DBTOP_PEDANTIC=` | Compile with additional warnings (OFF by default) | | `-DBTOP_WERROR=` | Compile with warnings as errors (OFF by default) | | `-DBTOP_GPU=` | Enable GPU support (ON by default) | @@ -726,7 +725,6 @@ Can be set with `make setcap` (preferred) or `make setuid` or by running btop wi | Configure flag | Description | |---------------------------------|-------------------------------------------------------------------------| | `-DBTOP_LTO=` | Enables link time optimization (ON by default) | - | `-DBTOP_USE_MOLD=` | Use mold to link btop (OFF by default) | | `-DBTOP_PEDANTIC=` | Compile with additional warnings (OFF by default) | | `-DBTOP_WERROR=` | Compile with warnings as errors (OFF by default) | | `-DCMAKE_INSTALL_PREFIX=` | The installation prefix ('/usr/local' by default) | @@ -903,7 +901,6 @@ Can be set with `make setcap` (preferred) or `make setuid` or by running btop wi |---------------------------------|-------------------------------------------------------------------------| | `-DBTOP_STATIC=` | Enables static linking (OFF by default) | | `-DBTOP_LTO=` | Enables link time optimization (ON by default) | - | `-DBTOP_USE_MOLD=` | Use mold to link btop (OFF by default) | | `-DBTOP_PEDANTIC=` | Compile with additional warnings (OFF by default) | | `-DBTOP_WERROR=` | Compile with warnings as errors (OFF by default) | | `-DCMAKE_INSTALL_PREFIX=` | The installation prefix ('/usr/local' by default) | @@ -1064,7 +1061,6 @@ Can be set with `make setcap` (preferred) or `make setuid` or by running btop wi | Configure flag | Description | |---------------------------------|-------------------------------------------------------------------------| | `-DBTOP_LTO=` | Enables link time optimization (ON by default) | - | `-DBTOP_USE_MOLD=` | Use mold to link btop (OFF by default) | | `-DBTOP_PEDANTIC=` | Compile with additional warnings (OFF by default) | | `-DBTOP_WERROR=` | Compile with warnings as errors (OFF by default) | | `-DCMAKE_INSTALL_PREFIX=` | The installation prefix ('/usr/local' by default) | @@ -1225,7 +1221,6 @@ Can be set with `make setcap` (preferred) or `make setuid` or by running btop wi | Configure flag | Description | |---------------------------------|-------------------------------------------------------------------------| | `-DBTOP_LTO=` | Enables link time optimization (ON by default) | - | `-DBTOP_USE_MOLD=` | Use mold to link btop (OFF by default) | | `-DBTOP_PEDANTIC=` | Compile with additional warnings (OFF by default) | | `-DBTOP_WERROR=` | Compile with warnings as errors (OFF by default) | | `-DCMAKE_INSTALL_PREFIX=` | The installation prefix ('/usr/local' by default) |