multipass: patch to fix build
This commit is contained in:
parent
70cd0d9edd
commit
a0698f018a
14
pkgs/tools/virtualization/multipass/cmake_warning.patch
Normal file
14
pkgs/tools/virtualization/multipass/cmake_warning.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/src/cert/CMakeLists.txt b/src/cert/CMakeLists.txt
|
||||
index d44a0b09..de440f24 100644
|
||||
--- a/src/cert/CMakeLists.txt
|
||||
+++ b/src/cert/CMakeLists.txt
|
||||
@@ -22,7 +22,7 @@ add_library(cert STATIC
|
||||
target_include_directories(cert PRIVATE
|
||||
${OPENSSL_INCLUDE_DIR})
|
||||
|
||||
-foreach(flag -Wno-nested-anon-types -Wno-gnu -Wno-pedantic -Wno-ignored-qualifiers)
|
||||
+foreach(flag -Wno-nested-anon-types -Wno-gnu -Wno-pedantic -Wno-ignored-qualifiers -Wno-ignored-attributes)
|
||||
check_cxx_compiler_flag(${flag} SUPPORTED)
|
||||
if(SUPPORTED)
|
||||
target_compile_options(cert PRIVATE ${flag})
|
||||
|
@ -53,6 +53,7 @@ stdenv.mkDerivation
|
||||
patches = [
|
||||
./lxd_socket_path.patch
|
||||
./cmake_no_fetch.patch
|
||||
./cmake_warning.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user