pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: makefile:  use proper linker flags for C++ compiles
Date: Wed, 01 Apr 2020 02:26:15 +0000
Message-ID: <E1jJT55-0006x2-3D@gemulon.postgresql.org> (raw)

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(+)



Message-ID: <E1jJT55-0006x2-3D@gemulon.postgresql.org>
Permalink:  ../E1jJT55-0006x2-3D@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jJT55-0006x2-3D@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: bruce@momjian.us
  Subject: Re: pgsql: makefile:  use proper linker flags for C++ compiles
  In-Reply-To: <E1jJT55-0006x2-3D@gemulon.postgresql.org>
  References: <E1jJT55-0006x2-3D@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox