From 6a95ce9376ef7b4a2d66b8b3f25ffbb653c23bce Mon Sep 17 00:00:00 2001 From: abveritas Date: Fri, 13 May 2011 15:10:54 +0000 Subject: [PATCH] libsysactivity .patch --- libsysactivity/cmakelist.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libsysactivity/cmakelist.patch diff --git a/libsysactivity/cmakelist.patch b/libsysactivity/cmakelist.patch new file mode 100644 index 000000000..52ebebf41 --- /dev/null +++ b/libsysactivity/cmakelist.patch @@ -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