8 Star 4 Fork 19

src-openEuler/linux-sgx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0007-fix-C-17-build-failed.patch 770 Bytes
一键复制 编辑 原始数据 按行查看 历史
qsW 提交于 2024-02-25 11:24 . fix build failed
From 07c4e80ed24038bf602fb6099b5ffde9583e4aa6 Mon Sep 17 00:00:00 2001
From: qsw333 <wangqingsan@huawei.com>
Date: Sun, 25 Feb 2024 11:21:33 +0800
Subject: [PATCH] fix C++17 build failed
---
psw/ae/aesm_service/source/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/psw/ae/aesm_service/source/CMakeLists.txt b/psw/ae/aesm_service/source/CMakeLists.txt
index a77d53f..adb88be 100644
--- a/psw/ae/aesm_service/source/CMakeLists.txt
+++ b/psw/ae/aesm_service/source/CMakeLists.txt
@@ -66,7 +66,7 @@ endif()
add_definitions("-DOPENSSL_API_COMPAT=10101")
set(CMAKE_CXX_STANDARD_REQUIRED 1)
-set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD 17)
set(CMAKE_SKIP_BUILD_RPATH true)
########## SGX SDK Settings ##########
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/linux-sgx.git
git@gitee.com:src-openeuler/linux-sgx.git
src-openeuler
linux-sgx
linux-sgx
master

搜索帮助