From: Samuel Henrique Date: Mon, 6 Nov 2023 09:36:52 +0000 (+0000) Subject: Remove build flags from output of -vvv for reproducible builds X-Git-Tag: archive/raspbian/3.7.0-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7ce89bbb2ef8655b4a742dd862f058e009252530;p=polybar.git Remove build flags from output of -vvv for reproducible builds Forwarded: not-needed =================================================================== Gbp-Pq: Name redact_build_flags.patch --- diff --git a/src/settings.cpp.cmake b/src/settings.cpp.cmake index 31de345..2428af0 100644 --- a/src/settings.cpp.cmake +++ b/src/settings.cpp.cmake @@ -52,10 +52,13 @@ void print_build_info(bool extended) { (WITH_XRM ? '+' : '-'), (WITH_XCURSOR ? '+' : '-')); printf("\n"); - printf("Build type: @CMAKE_BUILD_TYPE@\n"); - printf("Compiler: @CMAKE_CXX_COMPILER@\n"); - printf("Compiler flags: @CMAKE_CXX_FLAGS@ ${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE_UPPER}} @cxx_flags_str@\n"); - printf("Linker flags: @CMAKE_EXE_LINKER_FLAGS@ ${CMAKE_EXE_LINKER_FLAGS_${CMAKE_BUILD_TYPE_UPPER}} @cxx_linker_flags_str@\n"); + printf("Debian package, build flags removed from output for build reproducibility\n"); + printf("You can refer to the build logs of your package at:\n"); + printf("https://buildd.debian.org/status/package.php?p=polybar\n"); +// printf("Build type: @CMAKE_BUILD_TYPE@\n"); +// printf("Compiler: @CMAKE_CXX_COMPILER@\n"); +// printf("Compiler flags: @CMAKE_CXX_FLAGS@ ${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE_UPPER}} @cxx_flags_str@\n"); +// printf("Linker flags: @CMAKE_EXE_LINKER_FLAGS@ ${CMAKE_EXE_LINKER_FLAGS_${CMAKE_BUILD_TYPE_UPPER}} @cxx_linker_flags_str@\n"); } } // clang-format on