bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OPTFLAGS during compilation, make problem


From: Riccardo Mottola
Subject: Re: OPTFLAGS during compilation, make problem
Date: Thu, 19 Apr 2012 09:01:39 +0200
User-agent: Mozilla/5.0 (X11; FreeBSD i386; rv:11.0) Gecko/20120414 Firefox/11.0 SeaMonkey/2.8

Hi Nicola,

Nicola Pero wrote:
If "-O2 -pipe -march=prescott" should not be used, then I suppose gnustep-gui 
should use

   libpng-config --I_opts

instead of

   libpng-config --cflags

when deciding what compiler flags to use.

gnustep-make does not filter compiler flags that you explicitly specify in the 
GNUmakefile;
they are used as they are.  That's by design; it would be frustrating to have 
gnustep-make
interfere with them.  So, if you add -O2 -march=prescott to 
ADDITIONAL_INCLUDE_DIRS
you are basically forcing these flags to always be used.  If you don't want 
that to happen,
well, don't add them there! ;-)


Thank you for the hint, I fixed the configure script by hand and it seems to work for me now. I committed it. This is actually a step for getting more information for the big crasher :)

Riccardo



reply via email to

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