[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OPTFLAGS during compilation, make problem
From: |
Nicola Pero |
Subject: |
Re: OPTFLAGS during compilation, make problem |
Date: |
Wed, 18 Apr 2012 21:04:41 +0100 |
> However look here.
> > libpng-config --cflags
> -I/usr/local/include/libpng -O2 -pipe -march=prescott -fno-strict-aliasing
>
> I think that our "filter out" is not working properly or should filter out
> all instances of the optimization flags if there is more than one.
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! ;-)
Thanks
- Re: OPTFLAGS during compilation, make problem,
Nicola Pero <=