commit af3cd7543b482fbf6f9ff0af9d5d91d19f279c5e
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Fri Sep 20 16:42:58 2019 +0300
Remove -Werror flags.
intel-media-driver.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/intel-media-driver.spec b/intel-media-driver.spec
index 5229600..b012dec 100644
--- a/intel-media-driver.spec
+++ b/intel-media-driver.spec
@@ -47,6 +47,9 @@ 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 cmake/linux/media_compile_flags_linux.cmake
+
%build
mkdir build
Show replies by date