Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 706f8e7a authored by gsell's avatar gsell
Browse files

Master CMake script: add '-fPIE' to compile time and '-pie' to link options

parent d146f7c9
No related branches found
No related tags found
No related merge requests found
......@@ -46,10 +46,13 @@ add_definitions (-DIPPL_MPI -DMPICH_SKIP_MPICXX -DIPPL_DONT_POOL)
add_definitions (-DIPPL_USE_XDIV_RNG -DPETE_BITWISE_COPY)
add_definitions (-DIPPL_HAS_TEMPLATED_COMPLEX)
add_definitions (-DIPPL_USE_PARTIAL_SPECIALIZATION)
add_definitions ( -Drestrict=__restrict__ -DNOCTAssert)
add_definitions (-Drestrict=__restrict__ -DNOCTAssert)
add_compile_options (-Wall)
add_compile_options (-funroll-loops -fstrict-aliasing)
add_compile_options (-fPIE)
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
# compiler dependent flags
message ("The underlying C++ compiler ID is: ${CMAKE_CXX_COMPILER_ID}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment