makefile:  use proper linker flags for C++ compiles

Add CFLAGS_SL flags for C++ compiles, which adds needed -fPIC linker
flag.

Reported-by: Oleksii Kliukin

Discussion: 
https://postgr.es/m/[email protected]

Backpatch-through: 10 only

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f1e8362aefc866a6f75b6b41edccd03d51235d17

Modified Files
--------------
src/Makefile.shlib | 1 +
1 file changed, 1 insertion(+)

Reply via email to