makefile: use proper linker flags for C++ compiles
Bruce Momjian <bruce@momjian.us>
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/E4A49A6B-621B-4830-A374-970EBB7D1328@hintbits.com Backpatch-through: 10 only
Files
| Path | Change | +/− |
|---|---|---|
| src/Makefile.shlib | modified | +1 −0 |