Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gm2O3-000616-SF for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Jan 2019 20:11:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gm2O2-0005C5-Ie for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Jan 2019 20:11:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gm2O2-0005By-69 for pgsql-hackers@lists.postgresql.org; Tue, 22 Jan 2019 20:11:06 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gm2Nz-0006j7-BK for pgsql-hackers@postgresql.org; Tue, 22 Jan 2019 20:11:05 +0000 Received: by mail-qt1-x844.google.com with SMTP id r14so29230076qtp.1 for ; Tue, 22 Jan 2019 12:11:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=/r+2Qr8KKO5fQ2HnsFPEXG0PEGR5aUrhb02rBziVGVU=; b=tbuqkGFRDP7RtVbhWV+ZUbSRq3vZ+UdTWl7qDaVCngJql2i3sjBfJIrdhEDAfh/10G 2S3ZP1U2HMv7mjRbEhdTjSGOjwvJ261Kmtkm6kR+JpnvWVOaGQ1/ftDK+1DlnuxmN6Wk PVLPQHcSKDGDmL3KSyMeAjLZqTD71JZPPTQehnwDKX0RrgNRUmYvGe3iqL8CFswkZpv8 Bgi2bPPJ2w0XCsQAT8j9EKgqlKfwszt4Z+eNFXxFwzrF2ftNsrxJm54tGYr6ZMPrH4Dv roypWlQoUS8p0bdwdgDBZXQJpzA+2v5kYUcjDd6yq+eM19Wqy+nBa5wI3yD8Uw/f0Y7I z9fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=/r+2Qr8KKO5fQ2HnsFPEXG0PEGR5aUrhb02rBziVGVU=; b=ltxOBEDugPxVRUr+/XcQLsszqlHy2d5v6UgIpmpmQsW1P1rJz76NR3BhjNWwEGT/gf 7Ma65UmZeuuHhZlcERhPR42a3FBb2ow6ZLUe9Usr4xrEgztnOYYmpZeh5pwV35b8nDym dIZA1EB/UQXWUqd94HAeAjqvl4fMR0Hi81vXp2U4l+fbsqVj3BWNr+d4avzua7HEsB1B JYPcMAvGmtjZQLjqev0q0sBNQHB3G9s9TcnBozei1uhrGvtJr6ZlHnrg/EfI3dTFDez7 y7aYP192f+CRGJAult2gAwHPcaIUT5PK5Z7NEdCMoOqTgwWq8TK6gyB2SmBJuY1YwK5P Hidw== X-Gm-Message-State: AJcUukeF7Jz1xIzV4M3yAUiS2LToZRlISA9/WSgR5cir3TKEenezPBvy pBIniSKCqtTfYXt3k1lk5MC7Eg== X-Google-Smtp-Source: ALg8bN5HCfFokuQJzPkAja7clrxZue1VjUv/JtBN3esoSyhkJqVdfGWjVecpTaZie7ghtiMupXCk9w== X-Received: by 2002:a0c:d40f:: with SMTP id t15mr31242386qvh.117.1548187861193; Tue, 22 Jan 2019 12:11:01 -0800 (PST) Received: from alvin.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id d14sm23792196qkl.64.2019.01.22.12.11.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Jan 2019 12:11:00 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 27D98670; Tue, 22 Jan 2019 17:10:58 -0300 (-03) Date: Tue, 22 Jan 2019 17:10:58 -0300 From: Alvaro Herrera To: Andres Freund Cc: Michael Paquier , Christoph Berg , Peter Eisentraut , Tom Lane , PostgreSQL Hackers Subject: Re: [PATCH] Pass COPT and PROFILE to CXXFLAGS as well Message-ID: <201901222010.rsiarcovfmod@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190122200002.nzw2xdtzpxd5mh7o@alap3.anarazel.de> User-Agent: NeoMutt/20180716-1013-2c1e88 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Jan-22, Andres Freund wrote: > I think its plain wrong to add COPT to CXXFLAGS. Re PROFILE I'm on the > fence. I personally think the pgxs stuff is a bit separate, and I'm > doubtful we ought to backpatch that. I'm basically planning to apply > https://www.postgresql.org/message-id/20190107091734.GA1582%40msg.credativ.de > to 11-, minus the PGXS stuff. If we want that, we ought to apply it to > master only IMO. I don't understand why you don't want to backpatch the PGXS bits. Is there something working today that would be broken by it? I think you're worried about places that invoke makefiles with PG_CXXFLAGS set and expecting the value not to be propagated. Is that a scenario we need to worry about? The patch neglects to update extend.sgml with the new pgxs variable, though. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services