[PATCH] Pass COPT and PROFILE to CXXFLAGS as well

From: Christoph Berg <christoph(dot)berg(at)credativ(dot)de>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] Pass COPT and PROFILE to CXXFLAGS as well
Date: 2018-11-13 10:40:05
Message-ID: 20181113104005.GA32154@msg.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

While working on making extension modules built reproducibly, I
noticed that extra flags passed via COPT (notably -ffile-prefix-map)
do not get added to CXXFLAGS.

This causes postgresql-hll to still store the full build path in the
.so file built: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/postgresql-hll.html

Christoph
--
Senior Berater, Tel.: +49 2166 9901 187
credativ GmbH, HRB Mönchengladbach 12080, USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer
Unser Umgang mit personenbezogenen Daten unterliegt
folgenden Bestimmungen: https://www.credativ.de/datenschutz

Attachment Content-Type Size
0001-Pass-COPT-and-PROFILE-to-CXXFLAGS-as-well.patch text/x-diff 867 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2018-11-13 11:33:04 Re: doc fix for pg_stat_activity.backend_type
Previous Message Pavel Stehule 2018-11-13 10:29:44 proposal: simple query profile and tracing API