Commit 9fe407ff authored by Roumen Petrov's avatar Roumen Petrov

force build of position independent executable

Explicitly compile with -fPIC and link with -pie: work-around for 32-bit builds with NDK r17c.
parent 624d5ca1
......@@ -27,6 +27,12 @@ target_compile_definitions(
PRIVATE
PACKAGE_NAME="${APPLICATION_ID}"
)
target_compile_options(
libexec-t1plus.so
PRIVATE
-fPIC
)
target_link_libraries(
libexec-t1plus.so
-pie
)
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