From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8740 Path: news.gmane.org!not-for-mail From: Denys Vlasenko Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] make CFLAGS=foo considered harmful Date: Fri, 23 Oct 2015 14:46:59 +0200 Message-ID: References: <1445582865-4141-1-git-send-email-vda.linux@googlemail.com> <562A16C0.6060209@gentoo.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1445604467 8839 80.91.229.3 (23 Oct 2015 12:47:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2015 12:47:47 +0000 (UTC) To: musl Original-X-From: musl-return-8753-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 23 14:47:47 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 1Zpbkw-0001UT-HK for gllmg-musl@m.gmane.org; Fri, 23 Oct 2015 14:47:38 +0200 Original-Received: (qmail 22261 invoked by uid 550); 23 Oct 2015 12:47:31 -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 22240 invoked from network); 23 Oct 2015 12:47:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=WpgluibpxgrDKosfXKff9Wus+hLxHPaP/Eo7/bnnvEM=; b=nS9fnmLGK4wprxn4OArq75zQxgf7zhE0/UB/ujXzh9cIXkT1ojvrgLcAy5eV5gtp6Z /eSc2+Q06ZNBc7G7Qhas7mRJmKWN2tQt8S2aHnvEfg4ugWDpXCT6Lmo7rnhUhXGYGmYY XYpSPJGYzUf5l7DXX50SJ5SYoPJ0QZOeWA7aeJDwla6jTyIHn8YhH1FJef8KTni2vQJP nZ+eglugH+yHSOrkYf0Zmt3eHoTCLdcAwhBpyFB7TL4aXWVTPipUkKHOgTaxTeSSOsjH aInsfXAWA31XbTa8vBf2qXuYGw3uLY6wNUF687GVKykumbMdarqq47+xEog8D3iseCD9 LxlQ== X-Received: by 10.140.196.193 with SMTP id r184mr26429155qha.77.1445604438824; Fri, 23 Oct 2015 05:47:18 -0700 (PDT) In-Reply-To: <562A16C0.6060209@gentoo.org> Xref: news.gmane.org gmane.linux.lib.musl.general:8740 Archived-At: On Fri, Oct 23, 2015 at 1:15 PM, Luca Barbato wrote: > 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 ? Adding it where and for what purpose?