diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-10 12:25:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-10 12:25:06 +0100 |
commit | e810ac4a0e6af9f763f4433863042b34609075a7 (patch) | |
tree | 6fe0b3ff24f3b875be1564e273049c1e301d205b /sys-apps/azure-nvme-utils/files | |
parent | c218398bbbe70a616790cf146c28c1066b9284bf (diff) |
gentoo auto-resync : 10:07:2024 - 12:25:06
Diffstat (limited to 'sys-apps/azure-nvme-utils/files')
-rw-r--r-- | sys-apps/azure-nvme-utils/files/azure-nvme-utils-werror.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sys-apps/azure-nvme-utils/files/azure-nvme-utils-werror.patch b/sys-apps/azure-nvme-utils/files/azure-nvme-utils-werror.patch deleted file mode 100644 index 928dcb099e4e..000000000000 --- a/sys-apps/azure-nvme-utils/files/azure-nvme-utils-werror.patch +++ /dev/null @@ -1,31 +0,0 @@ -From d4afc19a9432e1b7c25269732d18143263f87404 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot <jlecuirot@microsoft.com> -Date: Fri, 3 May 2024 12:52:04 +0100 -Subject: [PATCH] cmake: Only enable -Werror for debug builds - --Werror is very unhelpful for distributions and end users as different -(usually newer) compilers will raise warnings that the maintainers may -not see. The warnings should get reported upstream, but they shouldn't -block users from using the software. - -Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com> ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 3d3cd4b..75db578 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -17,7 +17,7 @@ include(cmake/doc.cmake) - include(CTest) - enable_testing() - --add_compile_options(-Wextra -Wall -Werror -std=gnu11 -D_GNU_SOURCE=1) -+add_compile_options(-Wextra -Wall $<$<CONFIG:Debug>:-Werror> -std=gnu11 -D_GNU_SOURCE=1) - add_executable(azure-nvme-id src/main.c) - - set(AZURE_NVME_ID_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/sbin") --- -2.44.0 - |