commit de343236ff2117b3f89ab60769944a7bb9fd9a43
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Feb 2 08:48:17 2024 +0100
Revert "Drop old Werror"
This reverts commit 7948a08ce9d8867dafd0b93ab7a936e136f8e75e.
intel-media-driver.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/intel-media-driver.spec b/intel-media-driver.spec
index a1d4099..11942e2 100644
--- a/intel-media-driver.spec
+++ b/intel-media-driver.spec
@@ -51,6 +51,10 @@ chmod -x LICENSE.md README.md CMakeLists.txt
# Remove pre-built (but unused) files
rm -f Tools/MediaDriverTools/UMDPerfProfiler/MediaPerfParser
+# Remove all -Werror compile flags
+sed -e "/-Werror/d" -i
media_driver/cmake/linux/media_compile_flags_linux.cmake
+sed -e "/-Werror/d" -i media_driver/media_top_cmake.cmake
+
%build
%ifarch %{ix86}
Show replies by date