Only use -fPIC when compiling the shared object.
authornorly <ny-git@enpas.org>
Wed, 26 Jun 2013 23:46:07 +0000 (00:46 +0100)
committernorly <ny-git@enpas.org>
Wed, 26 Jun 2013 23:46:07 +0000 (00:46 +0100)
commitbac3bc42ef0133a7dda0870c4e1f37e5651feb99
tree95c6e8f30e7efd421aa430a0aff465de9b2e6c82
parent95516f950cf67ee154f362425c1472637d9f3e22
Only use -fPIC when compiling the shared object.

We can only use position-dependent global variables (R_*_COPY) in
injected code, not the position-independent R_*_GLOB_DAT as used in
shared objects.
And being able to modify the tool itself turns out to be a cool thing to
be able to.
Makefile