mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
13 lines
672 B
Plaintext
13 lines
672 B
Plaintext
Drop -Werror flag fatal with clang 15.
|
|
Index: CompilerChecks.cmake
|
|
--- CompilerChecks.cmake.orig
|
|
+++ CompilerChecks.cmake
|
|
@@ -24,7 +24,6 @@ if (UNIX)
|
|
#add_c_compiler_flag("-Wcast-qual" SUPPORTED_COMPILER_FLAGS)
|
|
add_c_compiler_flag("-Werror=address" SUPPORTED_COMPILER_FLAGS)
|
|
add_c_compiler_flag("-Wstrict-prototypes" SUPPORTED_COMPILER_FLAGS)
|
|
- add_c_compiler_flag("-Werror=strict-prototypes" SUPPORTED_COMPILER_FLAGS)
|
|
add_c_compiler_flag("-Wwrite-strings" SUPPORTED_COMPILER_FLAGS)
|
|
add_c_compiler_flag("-Werror=write-strings" SUPPORTED_COMPILER_FLAGS)
|
|
add_c_compiler_flag("-Werror-implicit-function-declaration" SUPPORTED_COMPILER_FLAGS)
|