Commit 211bea03 authored by Arnaud Giersch's avatar Arnaud Giersch

Add norelro to link flags (see FG #35).

parent 9dca2975
Pipeline #190595 passed with stages
in 21 minutes and 25 seconds
......@@ -168,7 +168,7 @@ endif()
mark_as_advanced(GCCLIBATOMIC_LIBRARY)
if(enable_model-checking AND (NOT LINKER_VERSION VERSION_LESS "2.30"))
set(SIMGRID_DEP "${SIMGRID_DEP} -Wl,-znoseparate-code")
set(SIMGRID_DEP "${SIMGRID_DEP} -Wl,-znorelro -Wl,-znoseparate-code")
endif()
target_link_libraries(simgrid ${SIMGRID_DEP})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment