diff options
Diffstat (limited to 'dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.46-remove_Werror_from_FLAGS.patch')
-rw-r--r-- | dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.46-remove_Werror_from_FLAGS.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.46-remove_Werror_from_FLAGS.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.46-remove_Werror_from_FLAGS.patch new file mode 100644 index 000000000000..9c8ff79e311e --- /dev/null +++ b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.46-remove_Werror_from_FLAGS.patch @@ -0,0 +1,30 @@ +--- a/cmake/compiler_settings.cmake 2020-09-29 10:15:14.293703615 +0200 ++++ b/cmake/compiler_settings.cmake 2020-09-29 10:15:32.173704251 +0200 +@@ -53,7 +53,7 @@ + endmacro() + + macro(set_gcc_warnings) +- list(APPEND AWS_COMPILER_WARNINGS "-Wall" "-Werror" "-pedantic" "-Wextra") ++ list(APPEND AWS_COMPILER_WARNINGS "-Wall" "-pedantic" "-Wextra") + if(COMPILER_CLANG) + if(PLATFORM_ANDROID) + # when using clang with libc and API lower than 21 we need to include Android support headers and ignore the gnu-include-next warning. +--- a/cspell.json 2020-09-29 10:19:23.102712472 +0200 ++++ b/cspell.json 2020-09-29 10:20:32.195714931 +0200 +@@ -11,7 +11,7 @@ + // CMake + "cmake", + // Compiler and linker +- "Wpedantic", "Wextra", "Werror", "xldscope", "Wtype", "Wunused", ++ "Wpedantic", "Wextra", "xldscope", "Wtype", "Wunused", + // Android NDK + "JNIEXPORT", "jint", "JNICALL", "jobject", "jclass", "jmethod", "Ljava", + // XML parser +--- a/CI/install-test/CMakeLists.txt 2020-09-29 10:19:32.094712792 +0200 ++++ b/CI/install-test/CMakeLists.txt 2020-09-29 10:19:46.064713289 +0200 +@@ -4,4 +4,4 @@ + find_package(AWSSDK REQUIRED COMPONENTS s3) + add_executable(${PROJECT_NAME} "main.cpp") + target_link_libraries(${PROJECT_NAME} ${AWSSDK_LINK_LIBRARIES}) +-target_compile_options(${PROJECT_NAME} PRIVATE "-Wall" "-Werror") ++target_compile_options(${PROJECT_NAME} PRIVATE "-Wall") |