5 Star 3 Fork 8

src-openEuler/oncn-bwm

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
0006-fix-input-options-unused-warning.patch 914 Bytes
Copy Edit Raw Blame History
From f54634902900764327a138e44c295b293b4f6650 Mon Sep 17 00:00:00 2001
From: 15859157387 <977713017@qq.com>
Date: Thu, 10 Aug 2023 14:34:00 +0800
Subject: [PATCH] cmake change
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 70b47e7..d6560c1 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.12.1)
project(bwmcli LANGUAGES C )
-set(CMAKE_C_FLAGS "-g -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Werror -ftrapv -O2 -Wl,-z,noexecstack \
- -Wl,-z,relro -fPIE -pie -Wl,-z,now")
+set(CMAKE_C_FLAGS "-g -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Werror -ftrapv -O2")
+set(CMAKE_SHARED_LINKER_FLAGS "-Wl,-z,noexecstack -Wl,-z,relro -fPIE -pie -Wl,-z,now")
include_directories("${PROJECT_SOURCE_DIR}/")
include_directories("${PROJECT_SOURCE_DIR}/bpf")
--
2.27.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/oncn-bwm.git
git@gitee.com:src-openeuler/oncn-bwm.git
src-openeuler
oncn-bwm
oncn-bwm
master

Search

D67c1975 1850385 1daf7b77 1850385