<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39359 >
On Thu, 26 Apr 2007, Per I. Mathisen wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=39359 >
> On Thu, 26 Apr 2007, Bastiaan Jacques wrote:
>> The attached patch fixes a bug which would cause the passed CFLAGS to be
>> overwritten when GCC is used.
> The old CFLAGS is readded a bit later in the same file. What problem does
> this patch solve?
The problem is that the old CFLAGS are added 300 lines after they are
removed. So they are not used for many package tests. So if use
CFLAGS=-I/usr/local/include ./configure ...
then the /usr/local/include path will not be used for detecting
packages like SDL.
Freeciv-dev mailing list