Skip to content

Commit 3e04016

Browse files
committed
move patch so that it actually gets applied
1 parent 73c4242 commit 3e04016

File tree

3 files changed

+11
-22
lines changed

3 files changed

+11
-22
lines changed

deps/patches/gcc_warn.patch

-11
This file was deleted.

deps/patches/gcc_warn_wasm.patch

-11
This file was deleted.

deps/patches/proj.patch

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- CMakeLists.txt 2024-08-28 12:32:22
2+
+++ CMakeLists.txt 2024-08-28 12:32:42
3+
@@ -54,7 +54,7 @@
4+
-Wswitch
5+
-Wunused-parameter
6+
)
7+
-if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
8+
+if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0)
9+
set(PROJ_common_WARN_FLAGS ${PROJ_common_WARN_FLAGS}
10+
-Wduplicated-cond
11+
-Wduplicated-branches

0 commit comments

Comments
 (0)