DO NOT REPLY [Bug 24604] New: - Handler/Makefile.PL blocks the effects of the hints/* files

[email protected]
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24604>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24604

Handler/Makefile.PL blocks the effects of the hints/* files

           Summary: Handler/Makefile.PL blocks the effects of the hints/*
                    files
           Product: Xerces-P
           Version: 2.3.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Build System
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Handler/Makefile.PL uses a bunch of global variables in the WriteMakefile()
subroutine:

WriteMakefile(
    LINKTYPE => 'static',
    'NAME'	=> 'Handler',
    'INC'       => $INCLUDES,
    'OBJECT'    => '$(O_FILES)',
    'CCFLAGS'   => $CFLAGS,
    'CC'        => $CXX,
    'SKIP'      => [qw( dynamic test makeaperl xs_o)],
  @OPTIMIZE,
  @LDFLAGS,
);

$CXX isn't so bad, this probably doesn't want to get reset, but $CFLAGS will
prevent a hints file to add any flags, and likewise @OPTIMIZE, @LDFLAGS, and
$INCLUDE.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.