← Back to team overview

dolfin team mailing list archive

Re: New release

 

On Tue, Oct 11, 2005 at 02:10:39PM +0200, Johan Jansson wrote:
> On Tue, Oct 11, 2005 at 01:58:27PM +0200, Garth N. Wells wrote:
> > Cywin is already detected in configure.ac in order to add cygwin-specific flags
> > to CXXFlAGS. Is it possible to disbale a flag without redefining CXXFLAGS?
> > 
> > Garth 
> > 
> 
> Ah, I see. Maybe something like this then?:
> 
> # Add '-fPIC' for architectures which can handle it
> if test `uname -o` != Cygwin; then
>     echo "adding -fPIC to compiler flags"
>     CXXFLAGS=$CXXFLAGS' -fPIC '
> fi
> 
> (and remove -fPIC from CXXFLAGS)
> 
>   Johan

If -fPIC is needed only on 64-bit systems, maybe there should be a
test that checks instead for a 64-bit system?

/Anders



Follow ups

References