90dff46344
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libssh?expand=0&rev=b60422a84f5e29dc41762b3b8eedcf03
12 lines
661 B
Diff
12 lines
661 B
Diff
--- cmake/Modules/DefineCompilerFlags.cmake
|
|
+++ cmake/Modules/DefineCompilerFlags.cmake
|
|
@@ -10,7 +10,7 @@
|
|
if (${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)")
|
|
|
|
# add -Wconversion ?
|
|
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -pedantic -pedantic-errors")
|
|
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -pedantic")
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement")
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security")
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-format-attribute")
|