← Commit list

325d0e0a68

Viktor Szakats
Viktor Szakats
2026-02-11
SUCCESS Duration: 316s

Subject

cmake: fix `CURL_DROP_UNUSED` accidental left always-enabled

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

CMakeLists.txt+1 -1
@@ -304,7 +304,7 @@ endif()
set(CURL_CFLAGS "") # C flags set for libcurl and curl tool (aka public binaries) only
option(CURL_DROP_UNUSED "Drop unused code and data from built binaries" OFF)
-if(CURL_DROP_UNUSED OR TRUE)
+if(CURL_DROP_UNUSED)
if(APPLE)
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.13)
set_property(DIRECTORY APPEND PROPERTY LINK_OPTIONS "-Wl,-dead_strip")