]> code.delx.au - spectrwm/commit
linux: Enable PIE
authorAndrea Bolognani <eof@kiyuko.org>
Sun, 31 Jul 2016 16:56:27 +0000 (18:56 +0200)
committerAndrea Bolognani <eof@kiyuko.org>
Sun, 31 Jul 2016 17:05:10 +0000 (19:05 +0200)
commit092e5c269ffa08e9d174100a06d0d56ffcc85b69
treecca25a86f8c01deb21803b040047b3c1c724a7a8
parent2c2034e3bf97668545bee6d29bbe01dd5353da4d
linux: Enable PIE

PIE (position-independent executables) is a security feature
that has been made reasonably cheap by recent improvements in
GCC; as a result, more and more Linux distributions are pushing
for its adoption.

Unfortunately, PIE and PIC are not compatible, so we have to
manage the CFLAGS and LDFLAGS used to compile the library and
the executable indipendently.
linux/Makefile