From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 17 Jun 2021 08:40:11 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ltlhD-0003Vf-Q3 for lore@lore.pengutronix.de; Thu, 17 Jun 2021 08:40:11 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ltlhD-0000VY-C5; Thu, 17 Jun 2021 08:40:11 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltlgf-0000VQ-Mx for ptxdist@pengutronix.de; Thu, 17 Jun 2021 08:39:37 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ltlgf-0002a4-4v for ptxdist@pengutronix.de; Thu, 17 Jun 2021 08:39:37 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ltlgf-00FJ7X-38 for ptxdist@pengutronix.de; Thu, 17 Jun 2021 08:39:37 +0200 Date: Thu, 17 Jun 2021 08:39:37 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Message-ID: <20210617063936.GP839947@pengutronix.de> Mail-Followup-To: ptxdist@pengutronix.de References: <20210614144755.22035-1-ada@thorsis.com> <20210616115355.GL839947@pengutronix.de> <20210616130031.GK22020@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] [RFC PATCH 0/1] ppp: version bump 2.4.7 -> 2.4.9 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Wed, Jun 16, 2021 at 03:53:02PM +0200, Alexander Dahl wrote: > Am Wed, Jun 16, 2021 at 03:00:31PM +0200 schrieb Michael Olbrich: > > On Wed, Jun 16, 2021 at 02:22:01PM +0200, Alexander Dahl wrote: > > > What I need is something containing the CFLAGS already set by ptxdist > > > through various variables (like platform hardening options) to pass it > > > on to the handcrafted ./configure which does not consider the CFLAGS > > > environment variable. > > > > Why do you need to pass those to the configure script? All CFLAGS will be > > automatically added when the compiler is called. Or is there some code in > > the configure script that scans the CFLAGS manually? > > Oh okay. So the compiler wrapper handles this? That was a lack of > knowledge on my site then. Yes, any CFLAGS from PTXdist will seem like compiler defaults to the configure script etc. > I was just confused, because if you build ppp by yourself without > ptxdist, you have to call `./configure --cflags="WHATEVERCFLAGS"` to > have ppp's configure do the right thing. There are a lot of packages out there with various ways to specify the CFLAGS and sometimes surprising side effects. To avoid all this we have the wrappers and add all the flags there. Michael -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de