# HG changeset patch
# User Min Chen <[email protected]>
# Date 1393533205 28800
# Node ID 3e2a21b86a7c5b4d3bb5474972c749a1fb4e0643
# Parent b2f97431268c16f8598253dd3e2b501b03d5f4c6
fix Issue #30, disable stack execute on gcc
diff -r b2f97431268c -r 3e2a21b86a7c source/CMakeLists.txt
--- a/source/CMakeLists.txt Thu Feb 27 12:32:31 2014 -0800
+++ b/source/CMakeLists.txt Thu Feb 27 12:33:25 2014 -0800
@@ -276,7 +276,7 @@
set_target_properties(x265-shared PROPERTIES OUTPUT_NAME x265)
endif()
if(UNIX AND NOT APPLE)
- set_target_properties(x265-shared PROPERTIES LINK_FLAGS
"-Wl,-Bsymbolic")
+ set_target_properties(x265-shared PROPERTIES LINK_FLAGS
"-Wl,-Bsymbolic,-znoexecstack")
endif()
if(X265_LATEST_TAG)
# shared library is not installed if a tag is not found
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel