perl5: Don't add -ansi either.

This commit is contained in:
jperkin 2018-01-15 10:07:50 +00:00
parent bb1ee7ff8a
commit 73cc913ea2
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.148 2018/01/12 11:32:20 jperkin Exp $
$NetBSD: distinfo,v 1.149 2018/01/15 10:07:50 jperkin Exp $
SHA1 (perl-5.26.1.tar.bz2) = fadec45b7b48a06b3d2adab91c13f568dce717cd
RMD160 (perl-5.26.1.tar.bz2) = fff5bf2e6ad6488b8866bf300c32707972b8ffc6
@ -12,7 +12,7 @@ SHA1 (patch-ab) = 0ad5988b7cadfb13d9646a59a57f6cf884a6238a
SHA1 (patch-ac) = 4baa8f80695687abb53d4f4e1830cf86db5b2bf7
SHA1 (patch-aq) = 4bf5a76f0277b0939b2ca7720f4bb045a788b5cc
SHA1 (patch-caretx.c) = 9f53a9133f8dd2f962b448d7288b5b20454c86fb
SHA1 (patch-cflags.SH) = 018eb664f14b2a37df02a13769f572566443d81b
SHA1 (patch-cflags.SH) = 2ac2cf326d332976f676b0f56d3cf4a68a186922
SHA1 (patch-ch) = 5b6a89c82e158bab0a5f06add48c28e600678099
SHA1 (patch-ck) = 483e93a782e5627d3c7334d930ee11010fe7f7d8
SHA1 (patch-cn) = d1877383e213a414562b5bb4c1e8aa785926fab7

View file

@ -1,6 +1,6 @@
$NetBSD: patch-cflags.SH,v 1.1 2018/01/12 11:32:21 jperkin Exp $
$NetBSD: patch-cflags.SH,v 1.2 2018/01/15 10:07:50 jperkin Exp $
Don't add -std=c89, requires c99.
Don't add -std=c89 or -ansi, requires c99.
--- cflags.SH.orig 2017-07-18 22:49:30.000000000 +0000
+++ cflags.SH
@ -9,7 +9,7 @@ Don't add -std=c89, requires c99.
# -pedantic* before -Werror=d-a-s
#
-*) for opt in -std=c89 -ansi $pedantic \
+*) for opt in -ansi $pedantic \
+*) for opt in $pedantic \
-Werror=declaration-after-statement \
-Wextra -W \
-Wc++-compat -Wwrite-strings