Author: hicham
Update of /cvs/free/rpms/lightspark/F-14
In directory se02.es.rpmfusion.net:/tmp/cvs-serv22146/F-14
Added Files:
lightspark-0.4.4.3-noexecstack.patch
Log Message:
Avoid creating exec stack, fixes
https://bugs.launchpad.net/lightspark/+bug/668677
lightspark-0.4.4.3-noexecstack.patch:
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE lightspark-0.4.4.3-noexecstack.patch ---
--- lightspark-0.4.4.3/CMakeLists.txt.old 2010-11-20 13:32:40.000000000 +0000
+++ lightspark-0.4.4.3/CMakeLists.txt 2010-11-20 13:33:53.000000000 +0000
@@ -203,7 +203,7 @@ ENDIF(ENABLE_LIBAVCODEC)
IF(CMAKE_COMPILER_IS_GNUCC)
SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--no-undefined
${CMAKE_EXE_LINKER_FLAGS}")
- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed
${CMAKE_SHARED_LINKER_FLAGS}")
+ SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed,-z,noexecstack
${CMAKE_SHARED_LINKER_FLAGS}")
ENDIF(CMAKE_COMPILER_IS_GNUCC)
LINK_DIRECTORIES(${LLVM_LIB_DIR})