From 4deda48fa44989ee73278fe4eb6e8a27e9e56807 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Mon, 26 Jan 2026 17:17:05 +0100 Subject: [PATCH] build: Remove outdated comment about -ffile-prefix-map The -ffile-prefix-map option is no longer used and it seems fine to remove the warning about it possibly breaking coverage builds. If this needs documentation, the dev notes seem like a better place, because it also affects other places, such as depends. C.f. commit 407062f2ac93624f350e9e8a4f641c882a2aaf2f Github-Pull: #34413 Rebased-From: fa2e1b85dd6b263a77294566bd361d7873731045 --- CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b2e0cd5c2b..5d46df1d3bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -479,11 +479,6 @@ configure_file(contrib/filter-lcov.py filter-lcov.py USE_SOURCE_PERMISSIONS COPY # Don't allow extended (non-ASCII) symbols in identifiers. This is easier for code review. try_append_cxx_flags("-fno-extended-identifiers" TARGET core_interface SKIP_LINK) -# Avoiding the `-ffile-prefix-map` compiler option because it implies -# `-fcoverage-prefix-map` on Clang or `-fprofile-prefix-map` on GCC, -# which can cause issues with coverage builds, particularly when using -# Clang in the OSS-Fuzz environment due to its use of other options -# and a third party script, or with GCC. # Set `-fmacro-prefix-map`, so that source file names are expanded without the # src prefix. try_append_cxx_flags("-fmacro-prefix-map=A=B" TARGET core_interface SKIP_LINK