Projects
Eulaceura:Factory
oncn-bwm
_service:obs_scm:0006-fix-input-options-unused-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0006-fix-input-options-unused-warning.patch of Package oncn-bwm
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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2