Martin Raspe <[EMAIL PROTECTED]> writes:
Ok, it seems that the Handler/Makefile.PL is inhibiting the effects of the hints file. Please change this:
WriteMakefile( LINKTYPE => 'static', 'NAME' => 'Handler', 'INC' => $INCLUDES, 'OBJECT' => '$(O_FILES)', 'CCFLAGS' => $CFLAGS, 'CC' => $CXX, 'SKIP' => [qw( dynamic test makeaperl xs_o)], @OPTIMIZE, @LDFLAGS, );
to:
WriteMakefile( LINKTYPE => 'static', 'NAME' => 'Handler', 'INC' => $INCLUDES, 'OBJECT' => '$(O_FILES)', 'CC' => $CXX, 'SKIP' => [qw( dynamic test makeaperl xs_o)], @OPTIMIZE, @LDFLAGS, );
Removing the CCFLAGS line, and rerun perl Makefile.PL and see if your resulting Handler/Makefile has the correct value for CCFLAGS. Let me know if it works, then I'll make the fix for the next release.
No, on the contrary. When I put the following condition into the hints file "MsWin32.pl"
if ($^O eq 'MSWin32') {
$CFLAGS .= " $Config::Config{cppflags} -DHAS_BOOL -TP -GX";
}but delete it from ./Makefile.pl, the hints file only affects the ./Makefile, not Handler/Makefile, even if I make the proposed change to Handler/Makefile.pl.
On the contrary, if I make the change, but leave the condition in ./Makefile.pl, the change prevents Handler/Makefile from getting the right flags.
The only way to make it work for me is to put the condition into ./Makefile.pl and leave Handler/Makefile.pl alone.
Martin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
