Skip to content
Snippets Groups Projects
Commit 12e70f1b authored by Jakob Maljaars's avatar Jakob Maljaars
Browse files

Position independent code

parent 222c8a49
No related branches found
No related tags found
No related merge requests found
Pipeline #28190 passed
......@@ -78,7 +78,7 @@ target_include_directories(
# Using pybind11 requires using -fvisibility=hidden. See
# https://pybind11.readthedocs.io/en/stable/faq.html
target_compile_options(radler PUBLIC -O3 -Wall -Wzero-as-null-pointer-constant
-fvisibility=hidden)
-fvisibility=hidden -fPIC)
if(NOT PORTABLE)
if(DEFINED TARGET_CPU)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment