Skip to content
Snippets Groups Projects
Commit 6fe14f7d authored by Kei Okada's avatar Kei Okada
Browse files

sm/CMakeLists.txt add -fPIC (relocation R_X86_64_32 against '.rodata' can not...

sm/CMakeLists.txt add -fPIC (relocation R_X86_64_32 against '.rodata' can not be used when making a shared object; recompile with -fPIC)
parent 24c18387
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ MESSAGE(STATUS "csm_link_flags = ${csm_link_flags}")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${csm_c_flags}")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ggdb -Wall")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -ggdb -Wall")
# for realpath
......
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