summarylogtreecommitdiffstats
path: root/0001-build-Fix-clang-linking.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-build-Fix-clang-linking.patch')
-rw-r--r--0001-build-Fix-clang-linking.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/0001-build-Fix-clang-linking.patch b/0001-build-Fix-clang-linking.patch
deleted file mode 100644
index ab2dfad4b2c5..000000000000
--- a/0001-build-Fix-clang-linking.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From b5680fc14a577dd6dd57bd3d8568f0b05871b1c8 Mon Sep 17 00:00:00 2001
-From: Matt Coffin <mcoffin13@gmail.com>
-Date: Sat, 9 Nov 2019 11:01:58 -0700
-Subject: [PATCH] build: Fix clang linking
-
----
- icd/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/icd/CMakeLists.txt b/icd/CMakeLists.txt
-index a60a9db..06b21f7 100644
---- a/icd/CMakeLists.txt
-+++ b/icd/CMakeLists.txt
-@@ -381,7 +381,7 @@ if (UNIX)
-
- target_link_libraries(xgl PRIVATE c stdc++ ${CMAKE_DL_LIBS} pthread)
-
-- if(NOT ICD_USE_GCC)
-+ if((NOT ICD_USE_GCC) AND (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang"))
- message(WARNING "Intel ICC untested in CMake.")
- target_link_libraries(xgl PRIVATE -fabi-version=0 -static-intel)
- endif()
---
-2.23.0
-