sqlite3: remove $(FPIC)
authorSebastian Kemper <sebastian_ml@gmx.net>
Wed, 19 Dec 2018 19:24:12 +0000 (20:24 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Wed, 19 Dec 2018 19:24:17 +0000 (20:24 +0100)
commit578762f4fcbfc83bf62ebc10af3deac767ac7043
tree6c7da1d1b92d105db1acd132b2102a7ba51a1bdc
parent8b4118cd7b5b12ccd5a440250951189a6fc10f90
sqlite3: remove $(FPIC)

Defaulting to -fPIC is a bad idea, especially for executables (here:
sqlite3-cli). In short, there are certain security implications as well
as overhead/performance penalties. Details see:

https://wiki.gentoo.org/wiki/Project:Hardened/Position_Independent_Code_internals

The configure script is able to detect the need for PIC and adds the
flag when needed anyway (when compiling the library).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
libs/sqlite3/Makefile