Re: Issues with building cpp extensions on PostgreSQL 10+

2020-03-31 Thread Bruce Momjian
Patch applied to PG 10, thanks. I don't know about your other questions, but if you want to propose a patch, we can review it. Thanks. --- On Fri, Mar 20, 2020 at 05:02:15PM +0100, Oleksii Kliukin wrote: > Hello, > >

Issues with building cpp extensions on PostgreSQL 10+

2020-03-20 Thread Oleksii Kliukin
Hello, I’ve recently tried to build an extension that employs C++ files and also passes them to a linker to make a shared library. I’ve discovered a few issues with them: - in v10 CFLAGS_SL is not appended to the CXXFLAGS in Makefile.shlib, resulting in cpp files compiled without -fPIC, leading