Return to patch-cflags.SH CVS log | Up to [cvs.NetBSD.org] / pkgsrc / lang / perl5 / patches |
File: [cvs.NetBSD.org] / pkgsrc / lang / perl5 / patches / Attic / patch-cflags.SH (download)
Revision 1.2, Mon Jan 15 10:07:50 2018 UTC (6 years, 2 months ago) by jperkin
perl5: Don't add -ansi either. |
$NetBSD: patch-cflags.SH,v 1.2 2018/01/15 10:07:50 jperkin Exp $ Don't add -std=c89 or -ansi, requires c99. --- cflags.SH.orig 2017-07-18 22:49:30.000000000 +0000 +++ cflags.SH @@ -186,7 +186,7 @@ Intel*) ;; # # Is that you, Intel C++? # -std=c89 before -ansi # -pedantic* before -Werror=d-a-s # -*) for opt in -std=c89 -ansi $pedantic \ +*) for opt in $pedantic \ -Werror=declaration-after-statement \ -Wextra -W \ -Wc++-compat -Wwrite-strings