diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-31 21:02:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-31 21:02:55 +0000 |
commit | d36c5f9e59f92a021c987989cd79d44460e0da42 (patch) | |
tree | 2504c88d1f287ac3a71ebc56e5d19f34a2c1b9a4 /dev-util/rocprofiler/files/rocprofiler-5.1.3-remove-Werror.patch | |
parent | e860dfa5acdb67f8e2b8938b005dbaaaaf2c984a (diff) |
gentoo auto-resync : 31:01:2023 - 21:02:55
Diffstat (limited to 'dev-util/rocprofiler/files/rocprofiler-5.1.3-remove-Werror.patch')
-rw-r--r-- | dev-util/rocprofiler/files/rocprofiler-5.1.3-remove-Werror.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/rocprofiler/files/rocprofiler-5.1.3-remove-Werror.patch b/dev-util/rocprofiler/files/rocprofiler-5.1.3-remove-Werror.patch new file mode 100644 index 000000000000..a30d6d6d00a7 --- /dev/null +++ b/dev-util/rocprofiler/files/rocprofiler-5.1.3-remove-Werror.patch @@ -0,0 +1,12 @@ +Index: rocprofiler-rocm-5.1.3/cmake_modules/env.cmake +=================================================================== +--- rocprofiler-rocm-5.1.3.orig/cmake_modules/env.cmake ++++ rocprofiler-rocm-5.1.3/cmake_modules/env.cmake +@@ -38,7 +38,6 @@ add_definitions ( -DHSA_DEPRECATED= ) + ## Linux Compiler options + set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall" ) +-set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror" ) + set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=return-type" ) + set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions" ) + set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden" ) |