-pie linker flag isn't set for Android x86 artifacts (CMake 3.7.0 rc)
Building executables for Android x86 with global parameter `set (CMAKE_POSITION_INDEPENDENT_CODE ON)` or direct choosing android api level 16 by setting `-DCMAKE_SYSTEM_VERSION=16`(PIE should be enabled by default starting from API 16) doesn't enable position independent executable option ('-pie' flag is absent in link file)
As a result, executable cannot be run on Android:
> error: only position independent executables (PIE) are supported .
issue