mcst-linux-kernel/patches-2024.06.26/gl4es-1.1.4/0152-remove-unneeded-diagno...

26 lines
850 B
Diff

From 03439f49f5167ea637e6fbe824230b9546d41904 Mon Sep 17 00:00:00 2001
From: Iouri Kharon <bc-info@styx.cabel.net>
Date: Fri, 28 May 2021 15:00:46 +0300
Subject: [PATCH 152/233] remove unneeded diagnostic (after patch of NOEGL=1
mode)
---
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 216caee1..0a0281b1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -183,6 +183,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")
add_definitions(-Wno-deprecated-declarations) #strdup
add_definitions(-Wno-unused-function -Wno-unused-variable -Wno-dangling-else)
add_definitions(-Wno-implicit-const-int-float-conversion)
+ add_definitions(-Wno-visibility)
else()
if(CMAKE_C_COMPILER_ID MATCHES "Intel")
add_definitions(-wd1786 -wd589 -wd537 -wd118 -wd2722)
--
2.11.0