mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 15:37:14 +08:00
libsysactivity .patch
This commit is contained in:
parent
72a9e9de63
commit
6a95ce9376
19
libsysactivity/cmakelist.patch
Normal file
19
libsysactivity/cmakelist.patch
Normal file
@ -0,0 +1,19 @@
|
||||
*** libsysactivity-0.6.1/CMakeLists.txt Wed Apr 13 11:14:38 2011
|
||||
--- CMakeLists.txt Sat May 14 00:30:43 2011
|
||||
***************
|
||||
*** 28,34 ****
|
||||
check_c_compiler_flag("-flto" HAS_FLTO_FLAG)
|
||||
if (HAS_FLTO_FLAG)
|
||||
add_definitions(-flto)
|
||||
! list(APPEND CMAKE_SHARED_LINKER_FLAGS "-flto")
|
||||
endif (HAS_FLTO_FLAG)
|
||||
|
||||
# Adding debug flags
|
||||
--- 28,34 ----
|
||||
check_c_compiler_flag("-flto" HAS_FLTO_FLAG)
|
||||
if (HAS_FLTO_FLAG)
|
||||
add_definitions(-flto)
|
||||
! set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -flto")
|
||||
endif (HAS_FLTO_FLAG)
|
||||
|
||||
# Adding debug flags
|
Loading…
Reference in New Issue
Block a user