← Back to team overview

dolfin team mailing list archive

Re: New release

 

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



Follow ups

References