Use the main
CMAKE_POSITION_INDEPENDENT_CODE setting in favor of hard-coding
-fPIC in the compiler flags for each ABI. This allows CMake to use
-fPIE as needed when sources are meant for executables, and
-fPIC for other sources.
-fPIE -pie to the default executable link flags when
CMAKE_POSITION_INDEPENDENT_CODE is enabled. This is required by Android 16 and above for executables to run on the device.
Closes: #16382 (closed)