Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] Re: (PR#10188) [Patch] Force rebuild when CPPFLAGS,CFLAGS
Home

[Freeciv-Dev] Re: (PR#10188) [Patch] Force rebuild when CPPFLAGS,CFLAGS

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: marko.lindqvist@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10188) [Patch] Force rebuild when CPPFLAGS,CFLAGS change
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Sep 2004 11:58:44 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10188 >

Mike Kaufman wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10188 >
> 
> On Sun, Sep 19, 2004 at 04:19:35AM -0700, Marko Lindqvist wrote:
> 
>>  Attached patch forces total recompilation after reconfiguration, if 
>>flags differ from previous configuration. This is achieved by storing 
>>flags into config.h. As all source files should include, and thus 
>>depend, on config.h, change in config.h forces total recompilation.
> 
> This sucks. The classic scenario here is wanted to compile a different
> client. To do this I shouldn't have to recompile the server wouldn't you
> say? Or even new client's files I already compiled, just the actual
> civclient binary.

GUI values aren't put into CFLAGS but into CLIENT_CFLAGS.  However there 
probably are some generic values that are configure-dependent that are 
put into CFLAGS.  Note that this will break ccache too since if the 
flags are different a full recompile is needed.

jason




[Prev in Thread] Current Thread [Next in Thread]