forked from pool/libssh
Updating link to change in openSUSE:Factory/libssh revision 36.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libssh?expand=0&rev=b60422a84f5e29dc41762b3b8eedcf03
This commit is contained in:
committed by
Git OBS Bridge
parent
79829a2685
commit
90dff46344
11
gcc5-fixes.patch
Normal file
11
gcc5-fixes.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- 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")
|
||||
Reference in New Issue
Block a user