This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add gcc-8 and gcc-9 for FORTIFY_SOURCE
authorH.Merijn Brand - Tux <h.m.brand@xs4all.nl>
Sun, 2 Sep 2018 08:54:53 +0000 (10:54 +0200)
committerH.Merijn Brand - Tux <h.m.brand@xs4all.nl>
Sun, 2 Sep 2018 08:54:53 +0000 (10:54 +0200)
U/modified/Cppsym.U

index 8878128..9ccf7ee 100644 (file)
@@ -316,7 +316,7 @@ fi
 
 : add -D_FORTIFY_SOURCE if feasible and not already there
 case "$gccversion" in
-[4567].*)      case "$optimize$ccflags" in
+[456789].*)    case "$optimize$ccflags" in
        *-O*)   case "$ccflags$cppsymbols" in
                *_FORTIFY_SOURCE=*) # Don't add it again.
                        echo "You seem to have -D_FORTIFY_SOURCE already, not adding it." >&4