[Development] RFD: Removing environment variable support from configure

Oswald Buddenhagen oswald.buddenhagen at theqtcompany.com
Fri Mar 18 16:45:53 CET 2016


On Fri, Mar 18, 2016 at 04:02:22PM +0100, Marc Mutz wrote:
> On Friday 18 March 2016 15:44:14 Oswald Buddenhagen wrote:
> > instead, configure needs to be fed these options explicitly. after all,
> > we already do it for a bunch of specific options: -I/-L/-l/-F/-fw. we
> > could add some more options like that, or alternatively parse variable
> > assignments like CXXFLAGS= and HOST_CXXFLAGS= on the command line - the
> > windows configure already does (or at least did) it for some things
> > (openssl paths, etc).
> 
> Why parse CXXFLAGS= on the command line if you can do
> 
>   MY_CXXFLAGS="$CXXFLAGS"
>   unset CXXFLAGS
> 
> ?
> 
because using real env variables for that is just plain wrong, no matter
how they are named.
the variable assignment syntax is "inspired" by what you can do with
qmake itself.



More information about the Development mailing list