From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8737 Path: news.gmane.org!not-for-mail From: Luca Barbato Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] make CFLAGS=foo considered harmful Date: Fri, 23 Oct 2015 13:15:12 +0200 Message-ID: <562A16C0.6060209@gentoo.org> References: <1445582865-4141-1-git-send-email-vda.linux@googlemail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1445598941 16825 80.91.229.3 (23 Oct 2015 11:15:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2015 11:15:41 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8750-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 23 13:15:41 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZpaJn-0007Zc-QC for gllmg-musl@m.gmane.org; Fri, 23 Oct 2015 13:15:31 +0200 Original-Received: (qmail 29810 invoked by uid 550); 23 Oct 2015 11:15:29 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 29792 invoked from network); 23 Oct 2015 11:15:28 -0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:42.0) Gecko/20100101 Thunderbird/42.0 In-Reply-To: <1445582865-4141-1-git-send-email-vda.linux@googlemail.com> Xref: news.gmane.org gmane.linux.lib.musl.general:8737 Archived-At: On 23/10/15 08:47, Denys Vlasenko wrote: > Signed-off-by: Denys Vlasenko > CC: musl > --- > configure | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/configure b/configure > index 03c0ebe..4564ad8 100755 > --- a/configure > +++ b/configure > @@ -40,6 +40,16 @@ Some influential environment variables: > > Use these variables to override the choices made by configure. > > +Note that overriding variables on make command line (IOW, running > +make CFLAGS="...") is not tested to work properly, and may result > +in a severely suboptimal build. Place your overrides into environment: > + > + export CFLAGS="..."; make > + > +or > + > + CFLAGS="..." make > + > EOF > exit 0 > } > What about adding ECFLAGS ? lu