ExtUtils::Embed: silence test warning blead
authorDavid Mitchell <davem@iabyn.com>
Fri, 19 Dec 2014 11:40:33 +0000 (11:40 +0000)
committerDavid Mitchell <davem@iabyn.com>
Fri, 19 Dec 2014 11:40:33 +0000 (11:40 +0000)
commit07fd17ee52a0c9e57138b5cb43fa8b18dcd3b06a
tree9a967736be1ae8d87a345ad331bd44d464c25f20
parentb7e6151cbc27942266f736d4706550bc35a29639
ExtUtils::Embed: silence test warning

From the added code comments:

    XXX DAPM 12/2014: ExtUtils::Embed doesn't seem to provide API access
    to $Config{optimize} and so compiles the test code without
    optimisation on optimised perls. This causes the compiler to warn
    when -D_FORTIFY_SOURCE is in force without -O. For now, just strip
    the fortify on optimised builds to avoid the warning.
lib/ExtUtils/t/Embed.t