[50222] trunk/dports/graphics
Rainer Müller
raimue at macports.org
Wed Apr 29 15:40:02 PDT 2009
Darren Weber wrote:
>
> Oh, also vtk-devel is using a different build type,
>
> -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo
>
> This is consistent with GNU distributions that use -O2 -g to provide
> some degree of optimization and the capacity to attach to and debug
> running processes, examine core dumps, etc.
Personally, I would never use any optimization if I plan to attach a
debugger to it later. It may be hard to follow steps in optimized code.
By default ports are built using -O2, as defined in configure.optflags.
Rainer
More information about the macports-dev
mailing list