vsomeip3/vsomeip-compiler-flags.patch
Stephen Smoogen 437776574d Updated to 3.3.0
Removed un-needed patches to code to fix C20 problems
Removed endian patches
Changed CMakefileLists.txt patch to remove -Werror for gcc-13
Opened upstream on that.
2023-05-18 05:39:24 -04:00

12 lines
1.1 KiB
Diff

diff -up vsomeip-3.3.0/CMakeLists.txt.compiler-flags vsomeip-3.3.0/CMakeLists.txt
--- vsomeip-3.3.0/CMakeLists.txt.compiler-flags 2023-03-30 10:26:38.393716608 -0400
+++ vsomeip-3.3.0/CMakeLists.txt 2023-03-30 10:52:22.686359169 -0400
@@ -75,7 +75,7 @@ endif()
set(NO_DEPRECATED "")
set(OPTIMIZE "")
- set(OS_CXX_FLAGS "${OS_CXX_FLAGS} -D_GLIBCXX_USE_NANOSLEEP -pthread -O -Wall -Wextra -Wformat -Wformat-security -Wconversion -fexceptions -fstrict-aliasing -fstack-protector-strong -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Wpedantic -Werror -fPIE")
+ set(OS_CXX_FLAGS "${OS_CXX_FLAGS} -D_GLIBCXX_USE_NANOSLEEP -pthread -O -Wall -Wextra -Wformat -Wformat-security -Wconversion -Wpedantic -fexceptions -fstrict-aliasing -fstack-protector-strong -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -fPIC -pie -Wl,-z,relro,-z,now")
# force all use of std::mutex and std::recursive_mutex to use runtime init
# instead of static initialization so mutexes can be hooked to enable PI as needed