mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 21:09:03 +02:00

* Use clang and lld for native builds to remain in sync with clang layer. * fix the license field to point to correct block of license in source file. * Include patches to ignore warnings being marked as errors when building with clang and to fix an issue with inclusion of debug functions when NDEBUG is defined. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
35 lines
1.0 KiB
Diff
35 lines
1.0 KiB
Diff
From 68d99547e620f097b5fca7315d52d411ffc75984 Mon Sep 17 00:00:00 2001
|
|
From: Anuj Mittal <anuj.mittal@intel.com>
|
|
Date: Fri, 16 Aug 2019 15:49:39 +0800
|
|
Subject: [PATCH] suppress warnings being marked as errors
|
|
|
|
Otherwise when building with clang-8:
|
|
|
|
| clang-8: error: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Werror,-Wdeprecated]
|
|
|
|
Also see:
|
|
https://github.com/intel/intel-graphics-compiler/issues/106
|
|
|
|
Upstream-Status: Inappropriate
|
|
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
---
|
|
IGC/CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/IGC/CMakeLists.txt b/IGC/CMakeLists.txt
|
|
index 7ff05f3..5deac46 100644
|
|
--- a/IGC/CMakeLists.txt
|
|
+++ b/IGC/CMakeLists.txt
|
|
@@ -2763,7 +2763,7 @@ foreach(_compilerFlagName IN ITEMS "CMAKE_CXX_FLAGS" "CMAKE_C_FLAGS")
|
|
-march=corei7
|
|
-mstackrealign
|
|
-fms-extensions
|
|
- -Werror
|
|
+ -Wno-error
|
|
-Wno-unused-parameter
|
|
-Wno-missing-field-initializers
|
|
-Wwrite-strings
|
|
--
|
|
2.7.4
|
|
|