Hi,

I'm working on my first CPAN module that uses Module::Build.
It has an XS component.  I can't find an exact correspondent
to the OPTIMIZE parameter with ExtUtils::MakeMaker.   I can
add the optimization I want to the extra_compiler_flags parameter,
but the optimization from the Perl build is included in the cc
command also.  I feel sorry for the compiler which is told to
optimize two different ways...

Q: How do I block the optimization from the Perl build being
    included the cc command?  I would prefer to leave it in
    the optimization variable in Config for future installs.

Q2: What's the easiest way to communicate something from
      the Build.PL code to test code?

Thanks much,
cmac


Reply via email to