From: Samuel Henrique Date: Wed, 9 Dec 2020 18:23:48 +0000 (+0000) Subject: Remove build flags from output of -vvv for reproducible builds X-Git-Tag: archive/raspbian/3.5.3-1+rpi1~1^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8d36fa40c5123cb3ca1ed0914da31beec43d92fa;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 eadf3bb..b13e565 100644 --- a/src/settings.cpp.cmake +++ b/src/settings.cpp.cmake @@ -51,10 +51,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}}\n"); - printf("Linker flags: @CMAKE_EXE_LINKER_FLAGS@ ${CMAKE_EXE_LINKER_FLAGS_${CMAKE_BUILD_TYPE_UPPER}}\n"); + printf("Debian package, build flags removed from output for reproducibility\n"); + printf("You can refer to the build logs 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}}\n"); + // printf("Linker flags: @CMAKE_EXE_LINKER_FLAGS@ ${CMAKE_EXE_LINKER_FLAGS_${CMAKE_BUILD_TYPE_UPPER}}\n"); } } // clang-format on