How to compile perl with DEBUG_LEAKING_SCALARS?

前端 未结 1 581
青春惊慌失措
青春惊慌失措 2021-01-02 00:42

I am trying to install perl with -DDEBUG_LEAKING_SCALARS

perlbrew install perl-5.24.1 -DDEBUGGING -DDEBUG_LEAKING_SCALARS --as perl-debug-5.24.1         


        
相关标签:
1条回答
  • 2021-01-02 01:16

    The doc has error. To compile perl with this option on you should use next command:

    perlbrew install perl-5.24.1 -DDEBUGGING -Accflags=-DDEBUG_LEAKING_SCALARS -j9 --as perl-debug-5.24.1
    

    I have found this info from this commit

    UPD
    DOC was fixed at commit #b49862865 by David Mitchell. Thanks

    0 讨论(0)
提交回复
热议问题