remove additional -fPIC switch because
authorGeorg Sauthoff <mail@georg.so>
Sat, 27 Aug 2016 08:56:08 +0000 (10:56 +0200)
committerGeorg Sauthoff <mail@georg.so>
Sat, 27 Aug 2016 13:24:50 +0000 (15:24 +0200)
commitb0d42cb7ec9e29972db425631ef6026612e3aed9
tree7ca4a9c06edb50498d79ebecdd2dd52f313e1d5c
parent681d5010d53cc2631ad96afa5dfc7ea70f13e5de
remove additional -fPIC switch because

- cmake is smart enough to add this flag on its own (for object files
  that it links into a shared library)
- cmake contains two sets of oject files - the position-dependent ones
  and the position-independent ones - and uses each set accordingly
  (for linking the executable, static library, shared library)
- having an executable that unnecessarily contains position-independent
  code has performance implications
cmake_unofficial/CMakeLists.txt