libextractor
[Top][All Lists]
Advanced

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

Re: [libextractor] Re: libextractor and Solaris 10


From: Christian Grothoff
Subject: Re: [libextractor] Re: libextractor and Solaris 10
Date: Wed, 5 Apr 2006 10:28:12 -0700
User-agent: KMail/1.9.1

Yes, of course.  That's what I get from working late ;-). Tnx! -C

On Wednesday 05 April 2006 04:58, Michał Kowalczuk wrote:
> Christian Grothoff wrote:
> >> My workaround for now is to declare CXX="g++ -m64"
> >
> > I think we can do better.  Changing the CFLAGS line in Makefile.am to
> >
> > CXXFLAGS = `echo "$(CFLAGS) -O0" | sed -e "s/-O?//"`
> >
> > should do the trick -- disable optimizations while keeping the other
> > flags (in SVN 2611).
>
> Shouldn't it be:
> CXXFLAGS = `echo "$(CXXFLAGS) -O0" | sed -e "s/-O.//"`
>                      ^^                          ^
> But make will find a loop when expanding macro.
>
> Also there will be a problem if someone will declare:
> CXXFLAGS="-O2 -foo -O3 -bar -O3 -quux"
>
> Maybe something like this:
> CXXFLAGS = "`echo "$(CXXFLAGS)" | sed -e "s/-O.//g"` -O0"
> would be better solution?




reply via email to

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