pgsql: makefile: use proper linker flags for C++ compiles

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: makefile: use proper linker flags for C++ compiles
Date: 2020-04-01 02:26:15
Message-ID: E1jJT55-0006x2-3D@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_10_STABLE

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2020-04-01 03:01:40 pgsql: psql: do file completion for \gx
Previous Message Michael Paquier 2020-04-01 02:13:11 pgsql: Add -c/--restore-target-wal to pg_rewind