mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 20:55:20 +03:00
28 lines
978 B
Diff
28 lines
978 B
Diff
From cfd492403e5a0f8d7d170937ca71a2bbe40563a3 Mon Sep 17 00:00:00 2001
|
|
Patch-Source: https://github.com/dotnet/corefx/pull/43130
|
|
From: Antoine Martin <dev@ayakael.net>
|
|
Date: Thu, 29 Jul 2021 19:49:08 +0000
|
|
Subject: [PATCH 1/1] fix build clang10
|
|
|
|
Fixes a build error for clang 10
|
|
|
|
---
|
|
src/Native/Unix/CMakeLists.txt | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/src/Native/Unix/CMakeLists.txt b/src/Native/Unix/CMakeLists.txt
|
|
index c5772c7e02..910823581d 100644
|
|
--- a/src/Native/Unix/CMakeLists.txt
|
|
+++ b/src/Native/Unix/CMakeLists.txt
|
|
@@ -26,6 +26,8 @@ add_compile_options(-Wno-empty-translation-unit)
|
|
add_compile_options(-Wno-cast-align)
|
|
add_compile_options(-Wno-typedef-redefinition)
|
|
add_compile_options(-Wno-c11-extensions)
|
|
+add_compile_options(-Wno-sign-conversion)
|
|
+add_compile_options(-Wno-unused-result)
|
|
add_compile_options(-I${CMAKE_CURRENT_SOURCE_DIR}/Common)
|
|
add_compile_options(-I${CMAKE_CURRENT_BINARY_DIR}/Common)
|
|
add_compile_options(-g)
|
|
--
|
|
2.32.0
|
|
|