Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:tools
demumble
pie.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pie.patch of Package demumble
Index: demumble-1.2.3/CMakeLists.txt =================================================================== --- demumble-1.2.3.orig/CMakeLists.txt +++ demumble-1.2.3/CMakeLists.txt @@ -1,6 +1,9 @@ -cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.14.0 FATAL_ERROR) project(demumble CXX) +include(CheckPIESupported) +check_pie_supported() + if (UNIX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fno-exceptions -fno-rtti") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") @@ -49,4 +52,5 @@ add_executable(demumble third_party/llvm/lib/Demangle/RustDemangle.cpp ) set_target_properties(demumble PROPERTIES CXX_STANDARD 17 - CXX_STANDARD_REQUIRED ON) + CXX_STANDARD_REQUIRED ON + POSITION_INDEPENDENT_CODE TRUE)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor