Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151023085120.GH10551@port70.net>
Date: Fri, 23 Oct 2015 10:51:21 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Cc: Rich Felker <dalias@...c.org>,
	Denys Vlasenko <vda.linux@...glemail.com>
Subject: Re: [PATCH] make CFLAGS=foo considered harmful

* Denys Vlasenko <vda.linux@...glemail.com> [2015-10-23 08:47:45 +0200]:
> +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
> +

i think that does not work, env vars affect make vars if

 VAR ?=
 VAR +=

or no VAR assignment is used in the makefile.

musl happens to use CFLAGS= in config.mak

>  EOF
>  exit 0
>  }
> -- 
> 1.8.1.4

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.