Description: Remove -fcompare-debug-second from GNU CXX flags
 Fix FTBFS with GCC 15: the -fcompare-debug-second developer option (a GCC
 compare-debug second-pass mode switch, useless for production builds)
 caused the assembler to emit duplicate symbols for
 std::is_trivially_copyable_v<...> instantiations in src/tlfloat/printf.cpp
 (Error: symbol ... is already defined). Matches upstream commit
 936f0b093f0a79c0534fe5185ff80b6a649c576c.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Origin: upstream, https://github.com/shibatch/tlfloat/commit/936f0b093f0a79c0534fe5185ff80b6a649c576c
Forwarded: not-needed
Last-Update: 2026-09-05

--- tlfloat-1.15.0.orig/CMakeLists.txt
+++ tlfloat-1.15.0/CMakeLists.txt
@@ -275,7 +275,7 @@ endif()
 # Compiler options
 
 if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fcompare-debug-second -fconstexpr-ops-limit=1000000000 -fno-math-errno")
+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fconstexpr-ops-limit=1000000000 -fno-math-errno")
   set(INLINE_CXX_FLAGS "--inline-limit=1000000")
   set(NOEXCEPT_CXX_FLAGS "-fno-exceptions;-fno-rtti")
   if(CMAKE_SYSTEM_PROCESSOR MATCHES "i[3-6]86")
