mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
15 lines
575 B
Diff
15 lines
575 B
Diff
|
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})
|
||
|
|